about summary refs log tree commit diff
path: root/src/test/ui/span
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2019-12-12 15:22:46 -0800
committerEsteban Küber <esteban@kuber.com.ar>2019-12-24 22:08:05 -0800
commit759df5fa357ecc0f4a0dee9a3ac9c8b1c7160cb8 (patch)
tree24bce09978a98d6603068d5174c97a8e31f09d4f /src/test/ui/span
parent547abe0c52fedc11cd4d1276f7ad51ce29a411e6 (diff)
Fix case in `associated-type-projection-from-multiple-supertraits.rs`
This still doesn't handle the case entirely correctly, requiring a more
targeted approach with a better suggestion, but at least now the
suggested syntax makes *some* sense.
Diffstat (limited to 'src/test/ui/span')
-rw-r--r--src/test/ui/span/type-binding.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/span/type-binding.stderr b/src/test/ui/span/type-binding.stderr
index c3e95455532..5b64fe18892 100644
--- a/src/test/ui/span/type-binding.stderr
+++ b/src/test/ui/span/type-binding.stderr
@@ -1,5 +1,5 @@
 error[E0220]: associated type `Trget` not found for `std::ops::Deref`
-  --> $DIR/type-binding.rs:6:20
+  --> $DIR/type-binding.rs:6:14
    |
 LL | fn homura<T: Deref<Trget = i32>>(_: T) {}
    |                    ^^^^^^^^^^^ help: there is an associated type with a similar name: `Target`