Add additional migrations to handle auto-traits and clone traits
Combine all 2229 migrations under one flag name
This commit is contained in:
parent
109248a4eb
commit
9afea614bf
27 changed files with 666 additions and 83 deletions
|
|
@ -31,6 +31,7 @@ use crate::hash::Hasher;
|
|||
/// [ub]: ../../reference/behavior-considered-undefined.html
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
#[cfg_attr(not(test), rustc_diagnostic_item = "send_trait")]
|
||||
#[cfg_attr(not(bootstrap), lang = "send")]
|
||||
#[rustc_on_unimplemented(
|
||||
message = "`{Self}` cannot be sent between threads safely",
|
||||
label = "`{Self}` cannot be sent between threads safely"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue