1error: trait objects without an explicit `dyn` are deprecated 2 --> tests/ui/bare-trait-object.rs:11:16 3 | 411 | impl Trait for Send + Sync { 5 | ^^^^^^^^^^^ 6 | 7 = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! 8 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> 9note: the lint level is defined here 10 --> tests/ui/bare-trait-object.rs:1:9 11 | 121 | #![deny(bare_trait_objects)] 13 | ^^^^^^^^^^^^^^^^^^ 14help: use `dyn` 15 | 1611 | impl Trait for dyn Send + Sync { 17 | +++ 18help: alternatively use a blanket implementation to implement `Trait` for all types that also implement `Send + Sync` 19 | 2011 | impl<T: Send + Sync> Trait for T { 21 | ++++++++++++++++ ~ 22