@@ -5,7 +5,7 @@ LL | for<'a> Dst<A + 'a>: Sized,
5
5
| ^^^^^^ help: use `dyn`: `dyn A + 'a`
6
6
|
7
7
= 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!
9
9
= note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
10
10
11
11
error: trait objects without an explicit `dyn` are deprecated
@@ -14,7 +14,7 @@ error: trait objects without an explicit `dyn` are deprecated
14
14
LL | let x: Dst<A> = *(Box::new(Dst { x: 1 }) as Box<Dst<A>>);
15
15
| ^ help: use `dyn`: `dyn A`
16
16
|
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!
18
18
= note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
19
19
20
20
error: trait objects without an explicit `dyn` are deprecated
@@ -23,7 +23,7 @@ error: trait objects without an explicit `dyn` are deprecated
23
23
LL | let x: Dst<A> = *(Box::new(Dst { x: 1 }) as Box<Dst<A>>);
24
24
| ^ help: use `dyn`: `dyn A`
25
25
|
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!
27
27
= note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
28
28
29
29
error: aborting due to 3 previous errors
0 commit comments