• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1error: 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   |         ^^^^^^^^^^^^^^^^^^
12