You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
355 B
12 lines
355 B
error: trait objects without an explicit `dyn` are deprecated
|
|
--> $DIR/bare-trait-object.rs:11:16
|
|
|
|
|
11 | impl Trait for Send + Sync {
|
|
| ^^^^^^^^^^^ help: use `dyn`: `dyn Send + Sync`
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/bare-trait-object.rs:1:9
|
|
|
|
|
1 | #![deny(bare_trait_objects)]
|
|
| ^^^^^^^^^^^^^^^^^^
|