1
Fork 0

Make more traits of the From/Into family diagnostic items

Following traits are now diagnostic items:
- `From` (unchanged)
- `Into`
- `TryFrom`
- `TryInto`

This also adds symbols for those items:
- `into_trait`
- `try_from_trait`
- `try_into_trait`
This commit is contained in:
flip1995 2021-01-22 18:07:00 +01:00
parent 25f39fe802
commit e25959b417
No known key found for this signature in database
GPG key ID: 1CA0DF2AF59D68A5
4 changed files with 8 additions and 6 deletions

View file

@ -622,6 +622,7 @@ symbols! {
intel,
into_iter,
into_result,
into_trait,
intra_doc_pointers,
intrinsics,
irrefutable_let_patterns,
@ -1159,6 +1160,8 @@ symbols! {
truncf32,
truncf64,
try_blocks,
try_from_trait,
try_into_trait,
try_trait,
tt,
tuple,