fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: conflicting implementations of trait `Foo` for type `(dyn Send + 'static)`: (E0119) 2 --> $DIR/lint-incoherent-auto-trait-objects.rs:5:1 3 | 4LL | impl Foo for dyn Send {} 5 | --------------------- first implementation here 6LL | 7LL | impl Foo for dyn Send + Send {} 8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn Send + 'static)` 9 | 10 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 11 = note: for more information, see issue #56484 <https://github.com/rust-lang/rust/issues/56484> 12 = note: `#[deny(order_dependent_trait_objects)]` on by default 13 14error: conflicting implementations of trait `Foo` for type `(dyn Send + Sync + 'static)`: (E0119) 15 --> $DIR/lint-incoherent-auto-trait-objects.rs:11:1 16 | 17LL | impl Foo for dyn Send + Sync {} 18 | ---------------------------- first implementation here 19LL | 20LL | impl Foo for dyn Sync + Send {} 21 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn Send + Sync + 'static)` 22 | 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> 25 26error: conflicting implementations of trait `Foo` for type `(dyn Send + Sync + 'static)`: (E0119) 27 --> $DIR/lint-incoherent-auto-trait-objects.rs:15:1 28 | 29LL | impl Foo for dyn Sync + Send {} 30 | ---------------------------- first implementation here 31... 32LL | impl Foo for dyn Send + Sync + Send {} 33 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn Send + Sync + 'static)` 34 | 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> 37 38error: aborting due to 3 previous errors 39 40Future incompatibility report: Future breakage diagnostic: 41error: conflicting implementations of trait `Foo` for type `(dyn Send + 'static)`: (E0119) 42 --> $DIR/lint-incoherent-auto-trait-objects.rs:5:1 43 | 44LL | impl Foo for dyn Send {} 45 | --------------------- first implementation here 46LL | 47LL | impl Foo for dyn Send + Send {} 48 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn Send + 'static)` 49 | 50 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 51 = note: for more information, see issue #56484 <https://github.com/rust-lang/rust/issues/56484> 52 = note: `#[deny(order_dependent_trait_objects)]` on by default 53 54Future breakage diagnostic: 55error: conflicting implementations of trait `Foo` for type `(dyn Send + Sync + 'static)`: (E0119) 56 --> $DIR/lint-incoherent-auto-trait-objects.rs:11:1 57 | 58LL | impl Foo for dyn Send + Sync {} 59 | ---------------------------- first implementation here 60LL | 61LL | impl Foo for dyn Sync + Send {} 62 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn Send + Sync + 'static)` 63 | 64 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 65 = note: for more information, see issue #56484 <https://github.com/rust-lang/rust/issues/56484> 66 = note: `#[deny(order_dependent_trait_objects)]` on by default 67 68Future breakage diagnostic: 69error: conflicting implementations of trait `Foo` for type `(dyn Send + Sync + 'static)`: (E0119) 70 --> $DIR/lint-incoherent-auto-trait-objects.rs:15:1 71 | 72LL | impl Foo for dyn Sync + Send {} 73 | ---------------------------- first implementation here 74... 75LL | impl Foo for dyn Send + Sync + Send {} 76 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn Send + Sync + 'static)` 77 | 78 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 79 = note: for more information, see issue #56484 <https://github.com/rust-lang/rust/issues/56484> 80 = note: `#[deny(order_dependent_trait_objects)]` on by default 81