@@ -4,7 +4,7 @@ error: cross-crate traits with a default impl, like `Send`, should not be specia
44LL | unsafe impl<T: Send> Send for MayImplementSendErr<&T> {}
55 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66 |
7- = warning: this will change its meaning in a future release!
7+ = warning: has potentially surprising behavior
88 = note: for more information, see issue #93367 <https://github.com/rust-lang/rust/issues/93367>
99 = note: `&T` is not a generic parameter
1010note: try using the same sequence of generic parameters as the struct definition
@@ -24,7 +24,7 @@ error: cross-crate traits with a default impl, like `Send`, should not be specia
2424LL | unsafe impl Send for ContainsVec<i32> {}
2525 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2626 |
27- = warning: this will change its meaning in a future release!
27+ = warning: has potentially surprising behavior
2828 = note: for more information, see issue #93367 <https://github.com/rust-lang/rust/issues/93367>
2929 = note: `i32` is not a generic parameter
3030note: try using the same sequence of generic parameters as the struct definition
@@ -39,7 +39,7 @@ error: cross-crate traits with a default impl, like `Send`, should not be specia
3939LL | unsafe impl<T: Send> Send for TwoParamsSame<T, T> {}
4040 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4141 |
42- = warning: this will change its meaning in a future release!
42+ = warning: has potentially surprising behavior
4343 = note: for more information, see issue #93367 <https://github.com/rust-lang/rust/issues/93367>
4444 = note: `T` is mentioned multiple times
4545note: try using the same sequence of generic parameters as the struct definition
@@ -54,7 +54,7 @@ error: cross-crate traits with a default impl, like `Send`, should not be specia
5454LL | unsafe impl<T> Send for WithPhantomDataSend<*const T, i8> {}
5555 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5656 |
57- = warning: this will change its meaning in a future release!
57+ = warning: has potentially surprising behavior
5858 = note: for more information, see issue #93367 <https://github.com/rust-lang/rust/issues/93367>
5959 = note: `*const T` is not a generic parameter
6060note: try using the same sequence of generic parameters as the struct definition
@@ -69,7 +69,7 @@ error: cross-crate traits with a default impl, like `Sync`, should not be specia
6969LL | unsafe impl<T> Sync for WithLifetime<'static, Vec<T>> {}
7070 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7171 |
72- = warning: this will change its meaning in a future release!
72+ = warning: has potentially surprising behavior
7373 = note: for more information, see issue #93367 <https://github.com/rust-lang/rust/issues/93367>
7474 = note: `Vec<T>` is not a generic parameter
7575note: try using the same sequence of generic parameters as the struct definition
0 commit comments