diff options
| author | Ohad Ravid <ohad.rv@gmail.com> | 2019-12-18 20:35:18 +0100 |
|---|---|---|
| committer | Ohad Ravid <ohad.rv@gmail.com> | 2019-12-18 21:07:32 +0100 |
| commit | a4a2fc0af33ef5a4e1211c5d3e4f0eeca02322f8 (patch) | |
| tree | d9f9fceecf215563547000cddc91b439adee2ec4 /src/test/ui/span | |
| parent | 99b89533d4cdf7682ea4054ad0ee36c351d05df1 (diff) | |
| download | rust-a4a2fc0af33ef5a4e1211c5d3e4f0eeca02322f8.tar.gz rust-a4a2fc0af33ef5a4e1211c5d3e4f0eeca02322f8.zip | |
Suggest associated type when the specified one cannot be found
Diffstat (limited to 'src/test/ui/span')
| -rw-r--r-- | src/test/ui/span/type-binding.stderr | 2 |
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 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: Deref<Trget = i32>>(_: T) {} - | ^^^^^^^^^^^ associated type `Trget` not found + | ^^^^^^^^^^^ help: there is an associated type with a similar name: `Target` error: aborting due to previous error |
