File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
tests/ui/impl-trait/member-constraints Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
//@ check-pass
2
2
// FIXME(-Znext-solver): enable this test
3
3
4
- // These functions currently does not normalize the opaque type but will do
5
- // so in the future. At this point we've got a new use of the opaque will fully
4
+ // These functions currently do not normalize the opaque type but will do
5
+ // so in the future. At this point we've got a new use of the opaque with fully
6
6
// universal arguments but for which lifetimes in the hidden type are unconstrained.
7
7
//
8
8
// Applying the member constraints would then incompletely infer `'unconstrained` to `'static`.
Original file line number Diff line number Diff line change 8
8
// As '0 gets outlived by 'a - its "upper bound" - the only applicable choice
9
9
// region is 'a.
10
10
//
11
- // '1 has to outlive 'b so the only applicabel choice regions are 'b and 'static.
11
+ // '1 has to outlive 'b so the only applicable choice regions are 'b and 'static.
12
12
// Considering this member constraint by itself would choose 'b as it is the
13
13
// smaller of the two regions.
14
14
//
You can’t perform that action at this time.
0 commit comments