Skip to content

Commit

Permalink
Include the note in the test.
Browse files Browse the repository at this point in the history
  • Loading branch information
smmalis37 committed Jul 23, 2020
1 parent dc7d115 commit bbaab63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/ui/associated-types/issue-62200.rs
Expand Up @@ -10,5 +10,6 @@ impl T<'_> for S {

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

fn main() {}

0 comments on commit bbaab63

Please sign in to comment.