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 11//@ check-pass
22// FIXME(-Znext-solver): enable this test
33
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
66// universal arguments but for which lifetimes in the hidden type are unconstrained.
77//
88// Applying the member constraints would then incompletely infer `'unconstrained` to `'static`.
Original file line number Diff line number Diff line change 88// As '0 gets outlived by 'a - its "upper bound" - the only applicable choice
99// region is 'a.
1010//
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.
1212// Considering this member constraint by itself would choose 'b as it is the
1313// smaller of the two regions.
1414//
You can’t perform that action at this time.
0 commit comments