diff options
| author | flip1995 <philipp.krones@embecosm.com> | 2021-01-22 18:07:00 +0100 |
|---|---|---|
| committer | flip1995 <philipp.krones@embecosm.com> | 2021-01-22 18:07:00 +0100 |
| commit | e25959b417fe2a08d808f9ddc737c2c9742d6d6a (patch) | |
| tree | f875dad129f85c20b7a2cf7483944760cecee7cd /compiler/rustc_span | |
| parent | 25f39fe80293f77bd86f64a1261a3e2c0ca23847 (diff) | |
| download | rust-e25959b417fe2a08d808f9ddc737c2c9742d6d6a.tar.gz rust-e25959b417fe2a08d808f9ddc737c2c9742d6d6a.zip | |
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`
Diffstat (limited to 'compiler/rustc_span')
| -rw-r--r-- | compiler/rustc_span/src/symbol.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs index 7b90e5b611c..2e7c9701c0c 100644 --- a/compiler/rustc_span/src/symbol.rs +++ b/compiler/rustc_span/src/symbol.rs @@ -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, |
