summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/issue-55673.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/resolve/issue-55673.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/resolve/issue-55673.rs b/tests/ui/resolve/issue-55673.rs
index 0436bd397..6ac49be14 100644
--- a/tests/ui/resolve/issue-55673.rs
+++ b/tests/ui/resolve/issue-55673.rs
@@ -1,3 +1,5 @@
+// run-rustfix
+#![allow(dead_code)]
trait Foo {
type Bar;
}
@@ -9,4 +11,11 @@ where
{
}
+fn bar<T>()
+where
+ T::Baa: std::fmt::Debug,
+ //~^ ERROR associated type `Baa` not found for `T`
+{
+}
+
fn main() {}