File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/tools/clippy/tests/ui/crashes Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -5,18 +5,26 @@ 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!
9+ = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
810
911error: trait objects without an explicit `dyn` are deprecated
1012 --> $DIR/ice-3969.rs:27:16
1113 |
1214LL | let x: Dst<A> = *(Box::new(Dst { x: 1 }) as Box<Dst<A>>);
1315 | ^ help: use `dyn`: `dyn A`
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!
18+ = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
1419
1520error: trait objects without an explicit `dyn` are deprecated
1621 --> $DIR/ice-3969.rs:27:57
1722 |
1823LL | let x: Dst<A> = *(Box::new(Dst { x: 1 }) as Box<Dst<A>>);
1924 | ^ help: use `dyn`: `dyn A`
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!
27+ = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
2028
2129error: aborting due to 3 previous errors
2230
You can’t perform that action at this time.
0 commit comments