@@ -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
1111error: trait objects without an explicit `dyn` are deprecated
@@ -14,7 +14,7 @@ error: trait objects without an explicit `dyn` are deprecated
1414LL | 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
2020error: trait objects without an explicit `dyn` are deprecated
@@ -23,7 +23,7 @@ error: trait objects without an explicit `dyn` are deprecated
2323LL | 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
2929error: aborting due to 3 previous errors
0 commit comments