diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ui/issues/issue-86756.stderr | 5 | ||||
| -rw-r--r-- | tests/ui/parser/dyn-trait-compatibility.stderr | 15 |
2 files changed, 0 insertions, 20 deletions
diff --git a/tests/ui/issues/issue-86756.stderr b/tests/ui/issues/issue-86756.stderr index e0f37129fd2..bfa7459ab4a 100644 --- a/tests/ui/issues/issue-86756.stderr +++ b/tests/ui/issues/issue-86756.stderr @@ -11,11 +11,6 @@ error[E0412]: cannot find type `dyn` in this scope | LL | eq::<dyn, Foo> | ^^^ not found in this scope - | -help: you might be missing a type parameter - | -LL | fn eq<A, B, dyn>() { - | +++++ warning: trait objects without an explicit `dyn` are deprecated --> $DIR/issue-86756.rs:5:15 diff --git a/tests/ui/parser/dyn-trait-compatibility.stderr b/tests/ui/parser/dyn-trait-compatibility.stderr index 6a946ea2ae0..0cae01bd1e3 100644 --- a/tests/ui/parser/dyn-trait-compatibility.stderr +++ b/tests/ui/parser/dyn-trait-compatibility.stderr @@ -27,22 +27,12 @@ error[E0412]: cannot find type `dyn` in this scope | LL | type A2 = dyn<dyn, 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 - | -LL | type A2<dyn> = dyn<dyn, dyn>; - | +++++ error[E0412]: cannot find type `dyn` in this scope --> $DIR/dyn-trait-compatibility.rs:9:11 @@ -55,11 +45,6 @@ error[E0412]: cannot find type `dyn` in this scope | LL | type A3 = dyn<<dyn as dyn>::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 |
