diff options
| author | Lieselotte <52315535+she3py@users.noreply.github.com> | 2023-09-08 06:23:56 +0200 |
|---|---|---|
| committer | Lieselotte <52315535+she3py@users.noreply.github.com> | 2023-09-08 06:52:17 +0200 |
| commit | 96c96645c7bb70a73ced2046df8fe083ad2ae3fc (patch) | |
| tree | 82f938d5d1a0ef23e2c31e0529afb80fe2e28146 /tests/ui/error-codes | |
| parent | 1e746d7741d44551e9378daf13b8797322aa0b74 (diff) | |
| download | rust-96c96645c7bb70a73ced2046df8fe083ad2ae3fc.tar.gz rust-96c96645c7bb70a73ced2046df8fe083ad2ae3fc.zip | |
Improve "associated type not found" diagnostics
Diffstat (limited to 'tests/ui/error-codes')
| -rw-r--r-- | tests/ui/error-codes/E0220.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/error-codes/E0220.stderr b/tests/ui/error-codes/E0220.stderr index 11763ce788d..e03eadacae4 100644 --- a/tests/ui/error-codes/E0220.stderr +++ b/tests/ui/error-codes/E0220.stderr @@ -2,7 +2,7 @@ error[E0220]: associated type `F` not found for `Trait` --> $DIR/E0220.rs:5:22 | LL | type Foo = dyn Trait<F=i32>; - | ^ associated type `F` not found + | ^ help: `Trait` has the following associated type: `Bar` error[E0191]: the value of the associated type `Bar` (from trait `Trait`) must be specified --> $DIR/E0220.rs:5:16 |
