fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1warning: conflicting implementations of trait `Trait` for type `(dyn Send + Sync + 'static)`: (E0119) 2 --> $DIR/issue-33140-traitobject-crate.rs:86:1 3 | 4LL | unsafe impl Trait for dyn (::std::marker::Send) + Sync { } 5 | ------------------------------------------------------ first implementation here 6LL | unsafe impl Trait for dyn (::std::marker::Send) + Send + Sync { } 7 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn Send + Sync + 'static)` 8 | 9 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 10 = note: for more information, see issue #56484 <https://github.com/rust-lang/rust/issues/56484> 11note: the lint level is defined here 12 --> $DIR/issue-33140-traitobject-crate.rs:3:9 13 | 14LL | #![warn(order_dependent_trait_objects)] 15 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 16 17warning: conflicting implementations of trait `Trait` for type `(dyn Send + Sync + 'static)`: (E0119) 18 --> $DIR/issue-33140-traitobject-crate.rs:89:1 19 | 20LL | unsafe impl Trait for dyn (::std::marker::Send) + Send + Sync { } 21 | ------------------------------------------------------------- first implementation here 22... 23LL | unsafe impl Trait for dyn (::std::marker::Sync) + Send { } 24 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn Send + Sync + 'static)` 25 | 26 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 27 = note: for more information, see issue #56484 <https://github.com/rust-lang/rust/issues/56484> 28 29warning: conflicting implementations of trait `Trait` for type `(dyn Send + Sync + 'static)`: (E0119) 30 --> $DIR/issue-33140-traitobject-crate.rs:93:1 31 | 32LL | unsafe impl Trait for dyn (::std::marker::Sync) + Send { } 33 | ------------------------------------------------------ first implementation here 34... 35LL | unsafe impl Trait for dyn (::std::marker::Sync) + Send + Sync { } 36 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn Send + Sync + 'static)` 37 | 38 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 39 = note: for more information, see issue #56484 <https://github.com/rust-lang/rust/issues/56484> 40 41warning: 3 warnings emitted 42 43Future incompatibility report: Future breakage diagnostic: 44warning: conflicting implementations of trait `Trait` for type `(dyn Send + Sync + 'static)`: (E0119) 45 --> $DIR/issue-33140-traitobject-crate.rs:86:1 46 | 47LL | unsafe impl Trait for dyn (::std::marker::Send) + Sync { } 48 | ------------------------------------------------------ first implementation here 49LL | unsafe impl Trait for dyn (::std::marker::Send) + Send + Sync { } 50 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn Send + Sync + 'static)` 51 | 52 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 53 = note: for more information, see issue #56484 <https://github.com/rust-lang/rust/issues/56484> 54note: the lint level is defined here 55 --> $DIR/issue-33140-traitobject-crate.rs:3:9 56 | 57LL | #![warn(order_dependent_trait_objects)] 58 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 59 60Future breakage diagnostic: 61warning: conflicting implementations of trait `Trait` for type `(dyn Send + Sync + 'static)`: (E0119) 62 --> $DIR/issue-33140-traitobject-crate.rs:89:1 63 | 64LL | unsafe impl Trait for dyn (::std::marker::Send) + Send + Sync { } 65 | ------------------------------------------------------------- first implementation here 66... 67LL | unsafe impl Trait for dyn (::std::marker::Sync) + Send { } 68 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn Send + Sync + 'static)` 69 | 70 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 71 = note: for more information, see issue #56484 <https://github.com/rust-lang/rust/issues/56484> 72note: the lint level is defined here 73 --> $DIR/issue-33140-traitobject-crate.rs:3:9 74 | 75LL | #![warn(order_dependent_trait_objects)] 76 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 77 78Future breakage diagnostic: 79warning: conflicting implementations of trait `Trait` for type `(dyn Send + Sync + 'static)`: (E0119) 80 --> $DIR/issue-33140-traitobject-crate.rs:93:1 81 | 82LL | unsafe impl Trait for dyn (::std::marker::Sync) + Send { } 83 | ------------------------------------------------------ first implementation here 84... 85LL | unsafe impl Trait for dyn (::std::marker::Sync) + Send + Sync { } 86 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn Send + Sync + 'static)` 87 | 88 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 89 = note: for more information, see issue #56484 <https://github.com/rust-lang/rust/issues/56484> 90note: the lint level is defined here 91 --> $DIR/issue-33140-traitobject-crate.rs:3:9 92 | 93LL | #![warn(order_dependent_trait_objects)] 94 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 95