summaryrefslogtreecommitdiffstats
path: root/src/test/ui/span/type-binding.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/span/type-binding.stderr')
-rw-r--r--src/test/ui/span/type-binding.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/span/type-binding.stderr b/src/test/ui/span/type-binding.stderr
new file mode 100644
index 000000000..cb0aefe06
--- /dev/null
+++ b/src/test/ui/span/type-binding.stderr
@@ -0,0 +1,9 @@
+error[E0220]: associated type `Trget` not found for `Deref`
+ --> $DIR/type-binding.rs:6:20
+ |
+LL | fn homura<T: Deref<Trget = i32>>(_: T) {}
+ | ^^^^^ help: there is an associated type with a similar name: `Target`
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0220`.