Skip to content

Commit ac862c0

Browse files
lcnrlqd
andcommitted
fix typos
Co-authored-by: Rémy Rakic <[email protected]>
1 parent 8441f95 commit ac862c0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/ui/impl-trait/member-constraints/incomplete-constraint.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
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`.

tests/ui/impl-trait/member-constraints/reject-choice-due-to-prev-constraint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
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
//

0 commit comments

Comments
 (0)