diff options
| author | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-05-14 15:58:22 +0200 |
|---|---|---|
| committer | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-05-27 12:28:54 +0200 |
| commit | d6ca34c9d26d03ed098ee472530d16994f8bfa29 (patch) | |
| tree | 6dc415f9f0ed43f2aa9c9603ac02f6d30b36ccb5 /src/libsyntax_pos | |
| parent | ab7cf71d4c6dd1696cb0eb52ad172bce296578cc (diff) | |
| download | rust-d6ca34c9d26d03ed098ee472530d16994f8bfa29.tar.gz rust-d6ca34c9d26d03ed098ee472530d16994f8bfa29.zip | |
Use `Symbol` more in lint APIs
Diffstat (limited to 'src/libsyntax_pos')
| -rw-r--r-- | src/libsyntax_pos/symbol.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libsyntax_pos/symbol.rs b/src/libsyntax_pos/symbol.rs index 60f87783b3e..8847e94127b 100644 --- a/src/libsyntax_pos/symbol.rs +++ b/src/libsyntax_pos/symbol.rs @@ -194,6 +194,7 @@ symbols! { const_raw_ptr_to_usize_cast, const_transmute, contents, + context, convert, copy_closures, core, @@ -282,6 +283,8 @@ symbols! { fundamental, future, Future, + FxHashSet, + FxHashMap, gen_future, generators, generic_associated_types, @@ -291,6 +294,8 @@ symbols! { globs, hash, Hash, + HashSet, + HashMap, hexagon_target_feature, hidden, homogeneous_aggregate, @@ -505,6 +510,7 @@ symbols! { rust_2015_preview, rust_2018_preview, rust_begin_unwind, + rustc, rustc_allocator_nounwind, rustc_allow_const_fn_ptr, rustc_args_required_const, @@ -590,6 +596,7 @@ symbols! { struct_inherit, structural_match, struct_variant, + sty, suggestion, target_feature, target_has_atomic, @@ -618,7 +625,10 @@ symbols! { try_trait, tt, tuple_indexing, + Ty, ty, + TyCtxt, + TyKind, type_alias_enum_variants, type_ascription, type_length_limit, |
