blob: 98cf67919ab7a6a14f4437bb4706df3a3d2958ba [file] [log] [blame]
Andrew Walbrand1b91c72020-08-11 17:12:08 +01001error: trait objects without an explicit `dyn` are deprecated
2 --> $DIR/bare-trait-object.rs:11:16
3 |
411 | impl Trait for Send + Sync {
5 | ^^^^^^^^^^^ help: use `dyn`: `dyn Send + Sync`
6 |
7note: the lint level is defined here
8 --> $DIR/bare-trait-object.rs:1:9
9 |
101 | #![deny(bare_trait_objects)]
11 | ^^^^^^^^^^^^^^^^^^