diff options
| author | Steven Malis <smmalis37@gmail.com> | 2020-07-22 23:19:38 -0700 |
|---|---|---|
| committer | Steven Malis <smmalis37@gmail.com> | 2020-07-22 23:19:38 -0700 |
| commit | bbaab63f844d64ca726a2a83c18774b3957c7169 (patch) | |
| tree | 34baeab6c0da8c94a9debb7d7b25ed6dcfc41030 | |
| parent | dc7d1156bef37b2fe38c3b5c83919dd8f0e39414 (diff) | |
| download | rust-bbaab63f844d64ca726a2a83c18774b3957c7169.tar.gz rust-bbaab63f844d64ca726a2a83c18774b3957c7169.zip | |
Include the note in the test.
| -rw-r--r-- | src/test/ui/associated-types/issue-62200.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/ui/associated-types/issue-62200.rs b/src/test/ui/associated-types/issue-62200.rs index 10f06eb26f8..9d18690e960 100644 --- a/src/test/ui/associated-types/issue-62200.rs +++ b/src/test/ui/associated-types/issue-62200.rs @@ -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() {} |
