From a4a2fc0af33ef5a4e1211c5d3e4f0eeca02322f8 Mon Sep 17 00:00:00 2001 From: Ohad Ravid Date: Wed, 18 Dec 2019 20:35:18 +0100 Subject: Suggest associated type when the specified one cannot be found --- src/test/ui/span/type-binding.stderr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/ui/span') diff --git a/src/test/ui/span/type-binding.stderr b/src/test/ui/span/type-binding.stderr index 421af67d19c..c3e95455532 100644 --- a/src/test/ui/span/type-binding.stderr +++ b/src/test/ui/span/type-binding.stderr @@ -2,7 +2,7 @@ error[E0220]: associated type `Trget` not found for `std::ops::Deref` --> $DIR/type-binding.rs:6:20 | LL | fn homura>(_: T) {} - | ^^^^^^^^^^^ associated type `Trget` not found + | ^^^^^^^^^^^ help: there is an associated type with a similar name: `Target` error: aborting due to previous error -- cgit 1.4.1-3-g733a5