1 error: conflicting implementations of trait `Foo` for type `(dyn std::marker::Send + 'static)`: (E0119)
2 --> $DIR/lint-incoherent-auto-trait-objects.rs:5:1
4 LL | impl Foo for dyn Send {}
5 | --------------------- first implementation here
7 LL | impl Foo for dyn Send + Send {}
8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn std::marker::Send + 'static)`
10 = note: `#[deny(order_dependent_trait_objects)]` on by default
11 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
12 = note: for more information, see issue #56484 <https://github.com/rust-lang/rust/issues/56484>
14 error: conflicting implementations of trait `Foo` for type `(dyn std::marker::Send + std::marker::Sync + 'static)`: (E0119)
15 --> $DIR/lint-incoherent-auto-trait-objects.rs:11:1
17 LL | impl Foo for dyn Send + Sync {}
18 | ---------------------------- first implementation here
20 LL | impl Foo for dyn Sync + Send {}
21 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn std::marker::Send + std::marker::Sync + 'static)`
23 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
24 = note: for more information, see issue #56484 <https://github.com/rust-lang/rust/issues/56484>
26 error: conflicting implementations of trait `Foo` for type `(dyn std::marker::Send + std::marker::Sync + 'static)`: (E0119)
27 --> $DIR/lint-incoherent-auto-trait-objects.rs:15:1
29 LL | impl Foo for dyn Sync + Send {}
30 | ---------------------------- first implementation here
32 LL | impl Foo for dyn Send + Sync + Send {}
33 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn std::marker::Send + std::marker::Sync + 'static)`
35 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
36 = note: for more information, see issue #56484 <https://github.com/rust-lang/rust/issues/56484>
38 error: aborting due to 3 previous errors