@@ -6,7 +6,7 @@ LL | for<'a> Dst<A + 'a>: Sized,
66 |
77 = note: `-D bare-trait-objects` implied by `-D warnings`
88 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
9- = note: for more information, see issue #80165 <https://github.com/ rust-lang/rust/issues/80165 >
9+ = note: for more information, see <https://doc. rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html >
1010
1111error: trait objects without an explicit `dyn` are deprecated
1212 --> $DIR/ice-3969.rs:27:16
@@ -15,7 +15,7 @@ LL | let x: Dst<A> = *(Box::new(Dst { x: 1 }) as Box<Dst<A>>);
1515 | ^ help: use `dyn`: `dyn A`
1616 |
1717 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
18- = note: for more information, see issue #80165 <https://github.com/ rust-lang/rust/issues/80165 >
18+ = note: for more information, see <https://doc. rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html >
1919
2020error: trait objects without an explicit `dyn` are deprecated
2121 --> $DIR/ice-3969.rs:27:57
@@ -24,7 +24,7 @@ LL | let x: Dst<A> = *(Box::new(Dst { x: 1 }) as Box<Dst<A>>);
2424 | ^ help: use `dyn`: `dyn A`
2525 |
2626 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
27- = note: for more information, see issue #80165 <https://github.com/ rust-lang/rust/issues/80165 >
27+ = note: for more information, see <https://doc. rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html >
2828
2929error: aborting due to 3 previous errors
3030
0 commit comments