1 error[E0223]: ambiguous associated type
2 --> $DIR/bare-trait-objects-path.rs:17: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
15 warning: trait objects without an explicit `dyn` are deprecated
16 --> $DIR/bare-trait-objects-path.rs:15:5
19 | ^^^^^ help: use `dyn`: `<dyn (::Dyn)>`
21 warning: trait objects without an explicit `dyn` are deprecated
22 --> $DIR/bare-trait-objects-path.rs:16:5
25 | ^^^ help: use `dyn`: `<dyn Dyn>`
27 error: aborting due to previous error; 3 warnings emitted
29 For more information about this error, try `rustc --explain E0223`.