Rollup merge of #86726 - sexxi-goose:use-diagnostic-item-for-rfc2229-migration, r=nikomatsakis
Use diagnostic items instead of lang items for rfc2229 migrations This PR removes the `Send`, `UnwindSafe` and `RefUnwindSafe` lang items introduced in https://github.com/rust-lang/rust/pull/84730, and uses diagnostic items instead to check for `Send`, `UnwindSafe` and `RefUnwindSafe` traits for RFC2229 migrations. r? ```@nikomatsakis```
This commit is contained in:
commit
d12b16887b
7 changed files with 14 additions and 20 deletions
|
@ -348,7 +348,4 @@ language_item_table! {
|
|||
Range, sym::Range, range_struct, Target::Struct;
|
||||
RangeToInclusive, sym::RangeToInclusive, range_to_inclusive_struct, Target::Struct;
|
||||
RangeTo, sym::RangeTo, range_to_struct, Target::Struct;
|
||||
Send, sym::send, send_trait, Target::Trait;
|
||||
UnwindSafe, sym::unwind_safe, unwind_safe_trait, Target::Trait;
|
||||
RefUnwindSafe, sym::ref_unwind_safe, ref_unwind_safe_trait, Target::Trait;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue