Skip to content

Commit bbaab63

Browse files
committed
Include the note in the test.
1 parent dc7d115 commit bbaab63

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/ui/associated-types/issue-62200.rs

+1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ impl T<'_> for S {
1010

1111
fn foo(x: impl Fn(<S as T<'_>>::A) -> <S as T<'_>>::A) {}
1212
//~^ ERROR binding for associated type `Output` references an anonymous lifetime
13+
//~^^ NOTE lifetimes appearing in an associated type are not considered constrained
1314

1415
fn main() {}

0 commit comments

Comments
 (0)