File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
src/librustc_mir/borrow_check/nll/region_infer Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -122,10 +122,12 @@ pub struct Constraint {
122
122
/// checks that they meet certain extra criteria. If not, an error
123
123
/// can be issued.
124
124
///
125
- /// One reason for this is that these type tests always boil down to a
126
- /// check like `'a: 'x` where `'a` is a universally quantified region
127
- /// -- and therefore not one whose value is really meant to be
128
- /// *inferred*, precisely. Another reason is that these type tests can
125
+ /// One reason for this is that these type tests typically boil down
126
+ /// to a check like `'a: 'x` where `'a` is a universally quantified
127
+ /// region -- and therefore not one whose value is really meant to be
128
+ /// *inferred*, precisely (this is not always the case: one can have a
129
+ /// type test like `<Foo as Trait<'?0>>::Bar: 'x`, where `'?0` is an
130
+ /// inference variable). Another reason is that these type tests can
129
131
/// involve *disjunction* -- that is, they can be satisfied in more
130
132
/// than one way.
131
133
///
You can’t perform that action at this time.
0 commit comments