Skip to content

Commit 51f223e

Browse files
committed
Fix clippy test
1 parent ef08c6b commit 51f223e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tools/clippy/tests/ui/crashes/ice-3969.stderr

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | for<'a> Dst<A + 'a>: Sized,
55
| ^^^^^^ help: use `dyn`: `dyn A + 'a`
66
|
77
= note: `-D bare-trait-objects` implied by `-D warnings`
8-
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
8+
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
99
= note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
1010

1111
error: trait objects without an explicit `dyn` are deprecated
@@ -14,7 +14,7 @@ error: trait objects without an explicit `dyn` are deprecated
1414
LL | let x: Dst<A> = *(Box::new(Dst { x: 1 }) as Box<Dst<A>>);
1515
| ^ help: use `dyn`: `dyn A`
1616
|
17-
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
17+
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
1818
= note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
1919

2020
error: trait objects without an explicit `dyn` are deprecated
@@ -23,7 +23,7 @@ error: trait objects without an explicit `dyn` are deprecated
2323
LL | let x: Dst<A> = *(Box::new(Dst { x: 1 }) as Box<Dst<A>>);
2424
| ^ help: use `dyn`: `dyn A`
2525
|
26-
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
26+
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
2727
= note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
2828

2929
error: aborting due to 3 previous errors

0 commit comments

Comments
 (0)