File tree 1 file changed +2
-2
lines changed
compiler/rustc_data_structures/src
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
use std:: alloc:: Allocator ;
2
2
3
- #[ rustc_on_unimplemented ( message = "`{Self}` doesn't implement `DynSend`. \
3
+ #[ diagnostic :: on_unimplemented ( message = "`{Self}` doesn't implement `DynSend`. \
4
4
Add it to `rustc_data_structures::marker` or use `IntoDynSyncSend` if it's already `Send`") ]
5
5
// This is an auto trait for types which can be sent across threads if `sync::is_dyn_thread_safe()`
6
6
// is true. These types can be wrapped in a `FromDyn` to get a `Send` type. Wrapping a
7
7
// `Send` type in `IntoDynSyncSend` will create a `DynSend` type.
8
8
pub unsafe auto trait DynSend { }
9
9
10
- #[ rustc_on_unimplemented ( message = "`{Self}` doesn't implement `DynSync`. \
10
+ #[ diagnostic :: on_unimplemented ( message = "`{Self}` doesn't implement `DynSync`. \
11
11
Add it to `rustc_data_structures::marker` or use `IntoDynSyncSend` if it's already `Sync`") ]
12
12
// This is an auto trait for types which can be shared across threads if `sync::is_dyn_thread_safe()`
13
13
// is true. These types can be wrapped in a `FromDyn` to get a `Sync` type. Wrapping a
You can’t perform that action at this time.
0 commit comments