@@ -7,8 +7,6 @@ LL | fn takes_dyn_trait_send_send(_: Box<dyn Trait + Send + Send>) {}
7
7
| first use of auto trait
8
8
|
9
9
= note: #[warn(duplicate_auto_traits_in_trait_objects)] on by default
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 #56522 <https://github.com/rust-lang/rust/issues/56522>
12
10
13
11
warning: duplicate auto trait `std::marker::Send` found in trait object
14
12
--> $DIR/trait-object-auto-dedup.rs:29:54
@@ -17,9 +15,6 @@ LL | fn takes_dyn_trait_send_sendalias(_: Box<dyn Trait + Send + SendAlias>) {}
17
15
| ^^^^ ^^^^^^^^^ subsequent use of auto trait
18
16
| |
19
17
| first use of auto trait
20
- |
21
- = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
22
- = note: for more information, see issue #56522 <https://github.com/rust-lang/rust/issues/56522>
23
18
24
19
warning: duplicate auto trait `std::marker::Send` found in trait object
25
20
--> $DIR/trait-object-auto-dedup.rs:31:18
@@ -28,9 +23,6 @@ LL | impl dyn Trait + Send + Send {
28
23
| ^^^^ ^^^^ subsequent use of auto trait
29
24
| |
30
25
| first use of auto trait
31
- |
32
- = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
33
- = note: for more information, see issue #56522 <https://github.com/rust-lang/rust/issues/56522>
34
26
35
27
warning: duplicate auto trait `std::marker::Send` found in trait object
36
28
--> $DIR/trait-object-auto-dedup.rs:38:46
@@ -39,9 +31,6 @@ LL | let dyn_trait_send_send: Box<dyn Trait + Send + Send> = dyn_trait_send;
39
31
| ^^^^ ^^^^ subsequent use of auto trait
40
32
| |
41
33
| first use of auto trait
42
- |
43
- = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
44
- = note: for more information, see issue #56522 <https://github.com/rust-lang/rust/issues/56522>
45
34
46
35
warning: duplicate auto trait `std::marker::Send` found in trait object
47
36
--> $DIR/trait-object-auto-dedup.rs:45:67
@@ -50,9 +39,6 @@ LL | let dyn_trait_send_send = Box::new(Struct) as Box<dyn Trait + Send + Se
50
39
| ^^^^ ^^^^ subsequent use of auto trait
51
40
| |
52
41
| first use of auto trait
53
- |
54
- = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
55
- = note: for more information, see issue #56522 <https://github.com/rust-lang/rust/issues/56522>
56
42
57
43
warning: duplicate auto trait `std::marker::Send` found in trait object
58
44
--> $DIR/trait-object-auto-dedup.rs:28:49
@@ -61,7 +47,4 @@ LL | fn takes_dyn_trait_send_send(_: Box<dyn Trait + Send + Send>) {}
61
47
| ^^^^ ^^^^ subsequent use of auto trait
62
48
| |
63
49
| first use of auto trait
64
- |
65
- = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
66
- = note: for more information, see issue #56522 <https://github.com/rust-lang/rust/issues/56522>
67
50
0 commit comments