summaryrefslogtreecommitdiffstats
path: root/src/test/ui/suggestions/issue-85347.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/suggestions/issue-85347.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/ui/suggestions/issue-85347.rs b/src/test/ui/suggestions/issue-85347.rs
new file mode 100644
index 000000000..f08e38689
--- /dev/null
+++ b/src/test/ui/suggestions/issue-85347.rs
@@ -0,0 +1,10 @@
+#![allow(incomplete_features)]
+#![feature(generic_associated_types)]
+use std::ops::Deref;
+trait Foo {
+ type Bar<'a>: Deref<Target = <Self>::Bar<Target = Self>>;
+ //~^ ERROR this associated type takes 1 lifetime argument but 0 lifetime arguments were supplied
+ //~| HELP add missing
+}
+
+fn main() {}