Add additional migrations to handle auto-traits and clone traits

Combine all 2229 migrations under one flag name
This commit is contained in:
Roxane 2021-04-08 19:09:08 -04:00
parent 109248a4eb
commit 9afea614bf
27 changed files with 666 additions and 83 deletions

View file

@ -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"