1
- warning: conflicting implementations of trait `Trait` for type `(dyn std::marker::Sync + std::marker::Send + 'static)`: (E0119)
1
+ warning: conflicting implementations of trait `Trait` for type `(dyn std::marker::Send + std::marker::Sync + 'static)`: (E0119)
2
2
--> $DIR/issue-33140-traitobject-crate.rs:85:1
3
3
|
4
4
LL | unsafe impl Trait for ::std::marker::Send + Sync { }
5
5
| ------------------------------------------------ first implementation here
6
6
LL | unsafe impl Trait for ::std::marker::Send + Send + Sync { }
7
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn std::marker::Sync + std::marker::Send + 'static)`
7
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn std::marker::Send + std::marker::Sync + 'static)`
8
8
|
9
9
note: lint level defined here
10
10
--> $DIR/issue-33140-traitobject-crate.rs:3:9
@@ -14,25 +14,25 @@ LL | #![warn(order_dependent_trait_objects)]
14
14
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
15
15
= note: for more information, see issue #56484 <https://github.com/rust-lang/rust/issues/56484>
16
16
17
- warning: conflicting implementations of trait `Trait` for type `(dyn std::marker::Sync + std::marker::Send + 'static)`: (E0119)
17
+ warning: conflicting implementations of trait `Trait` for type `(dyn std::marker::Send + std::marker::Sync + 'static)`: (E0119)
18
18
--> $DIR/issue-33140-traitobject-crate.rs:86:1
19
19
|
20
20
LL | unsafe impl Trait for ::std::marker::Send + Send + Sync { }
21
21
| ------------------------------------------------------- first implementation here
22
22
LL | unsafe impl Trait for ::std::marker::Sync + Send { }
23
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn std::marker::Sync + std::marker::Send + 'static)`
23
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn std::marker::Send + std::marker::Sync + 'static)`
24
24
|
25
25
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
26
26
= note: for more information, see issue #56484 <https://github.com/rust-lang/rust/issues/56484>
27
27
28
- warning: conflicting implementations of trait `Trait` for type `(dyn std::marker::Sync + std::marker::Send + 'static)`: (E0119)
28
+ warning: conflicting implementations of trait `Trait` for type `(dyn std::marker::Send + std::marker::Sync + 'static)`: (E0119)
29
29
--> $DIR/issue-33140-traitobject-crate.rs:88:1
30
30
|
31
31
LL | unsafe impl Trait for ::std::marker::Sync + Send { }
32
32
| ------------------------------------------------ first implementation here
33
33
LL | unsafe impl Trait for ::std::marker::Sync + Sync { }
34
34
LL | unsafe impl Trait for ::std::marker::Sync + Send + Sync { }
35
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn std::marker::Sync + std::marker::Send + 'static)`
35
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn std::marker::Send + std::marker::Sync + 'static)`
36
36
|
37
37
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
38
38
= note: for more information, see issue #56484 <https://github.com/rust-lang/rust/issues/56484>
0 commit comments