1 error[E0223]: ambiguous associated type
2 --> $DIR/bare-trait-objects-path.rs:23:12
5 | ^^^^^^^ help: use fully-qualified syntax: `<dyn Dyn as Trait>::Ty`
7 warning: trait objects without an explicit `dyn` are deprecated
8 --> $DIR/bare-trait-objects-path.rs:14:5
11 | ^^^ help: use `dyn`: `<dyn Dyn>`
13 = note: `#[warn(bare_trait_objects)]` on by default
14 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
15 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
17 warning: trait objects without an explicit `dyn` are deprecated
18 --> $DIR/bare-trait-objects-path.rs:17:5
21 | ^^^^^ help: use `dyn`: `<dyn (::Dyn)>`
23 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
24 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
26 warning: trait objects without an explicit `dyn` are deprecated
27 --> $DIR/bare-trait-objects-path.rs:20:5
30 | ^^^ help: use `dyn`: `<dyn Dyn>`
32 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
33 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
35 error: aborting due to previous error; 3 warnings emitted
37 For more information about this error, try `rustc --explain E0223`.