diff options
| author | Zack M. Davis <code@zackmdavis.net> | 2018-10-10 20:49:45 -0700 |
|---|---|---|
| committer | Zack M. Davis <code@zackmdavis.net> | 2018-10-11 21:10:35 -0700 |
| commit | a5de379b55d993db1dafd8e5bbc216d01be83893 (patch) | |
| tree | af1599b7553800b7dbf180637f0d8fc287e4d5eb /src/test/ui/error-codes | |
| parent | 77af314083e5acabf9ba5335e47271f35eef2e99 (diff) | |
| download | rust-a5de379b55d993db1dafd8e5bbc216d01be83893.tar.gz rust-a5de379b55d993db1dafd8e5bbc216d01be83893.zip | |
structured suggestion for E0223 ambiguous associated type
It looks like we tend to use angle-brackets around the placeholder in the few other places we use `Applicability::HasPlaceholders`, but that would be confusing here, so ...
Diffstat (limited to 'src/test/ui/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/E0223.stderr | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/test/ui/error-codes/E0223.stderr b/src/test/ui/error-codes/E0223.stderr index f65e744c625..87736c10774 100644 --- a/src/test/ui/error-codes/E0223.stderr +++ b/src/test/ui/error-codes/E0223.stderr @@ -2,9 +2,7 @@ error[E0223]: ambiguous associated type --> $DIR/E0223.rs:14:14 | LL | let foo: MyTrait::X; - | ^^^^^^^^^^ ambiguous associated type - | - = note: specify the type using the syntax `<Type as MyTrait>::X` + | ^^^^^^^^^^ help: use fully-qualified syntax: `<Type as MyTrait>::X` error: aborting due to previous error |
