1error[E0782]: expected a type, found a trait 2 --> tests/ui/bare-trait-object.rs:11:16 3 | 411 | impl Trait for Send + Sync { 5 | ^^^^^^^^^^^ 6 | 7help: you can add the `dyn` keyword if you want a trait object 8 | 911 | impl Trait for dyn Send + Sync { 10 | +++ 11help: alternatively use a blanket implementation to implement `Trait` for all types that also implement `Send + Sync` 12 | 1311 - impl Trait for Send + Sync { 1411 + impl<T: Send + Sync> Trait for T { 15 | 16