diff options
| author | Michael Goulet <michael@errs.io> | 2023-01-08 23:21:46 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-01-12 22:04:30 +0000 |
| commit | 950b47fb967ac8db2ad67da87fb167bf88963bbf (patch) | |
| tree | f4a4d99411ae33ab48b6019ccb807e2c1183cd0c /tests/ui/parser | |
| parent | 1bc3683b3275a5eb2ed13d24edcdcbc59afe5d70 (diff) | |
Render missing generics suggestion verbosely
Diffstat (limited to 'tests/ui/parser')
| -rw-r--r-- | tests/ui/parser/dyn-trait-compatibility.stderr | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/tests/ui/parser/dyn-trait-compatibility.stderr b/tests/ui/parser/dyn-trait-compatibility.stderr index 9218ae9d5da..6a946ea2ae0 100644 --- a/tests/ui/parser/dyn-trait-compatibility.stderr +++ b/tests/ui/parser/dyn-trait-compatibility.stderr @@ -26,17 +26,23 @@ error[E0412]: cannot find type `dyn` in this scope --> $DIR/dyn-trait-compatibility.rs:5:15 | LL | type A2 = dyn<dyn, dyn>; - | - ^^^ not found in this scope - | | - | help: you might be missing a type parameter: `<dyn>` + | ^^^ not found in this scope + | +help: you might be missing a type parameter + | +LL | type A2<dyn> = dyn<dyn, dyn>; + | +++++ error[E0412]: cannot find type `dyn` in this scope --> $DIR/dyn-trait-compatibility.rs:5:20 | LL | type A2 = dyn<dyn, dyn>; - | - ^^^ not found in this scope - | | - | help: you might be missing a type parameter: `<dyn>` + | ^^^ not found in this scope + | +help: you might be missing a type parameter + | +LL | type A2<dyn> = dyn<dyn, dyn>; + | +++++ error[E0412]: cannot find type `dyn` in this scope --> $DIR/dyn-trait-compatibility.rs:9:11 @@ -48,9 +54,12 @@ error[E0412]: cannot find type `dyn` in this scope --> $DIR/dyn-trait-compatibility.rs:9:16 | LL | type A3 = dyn<<dyn as dyn>::dyn>; - | - ^^^ not found in this scope - | | - | help: you might be missing a type parameter: `<dyn>` + | ^^^ not found in this scope + | +help: you might be missing a type parameter + | +LL | type A3<dyn> = dyn<<dyn as dyn>::dyn>; + | +++++ error: aborting due to 8 previous errors |
