about summary refs log tree commit diff
path: root/compiler/rustc_span/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2021-12-01 18:50:46 -0800
committerMichael Goulet <michael@errs.io>2022-02-09 09:35:42 -0800
commitf43e3a86a7286057a748c731b732200e2ccde466 (patch)
treec8394d88f1b0752206262573d316f78229771ee1 /compiler/rustc_span/src
parentb7cd0f786492aacf7426008cff48a25bc54b5f85 (diff)
downloadrust-f43e3a86a7286057a748c731b732200e2ccde466.tar.gz
rust-f43e3a86a7286057a748c731b732200e2ccde466.zip
Allow substitutions in `rustc_on_unimplemented` predicate
Diffstat (limited to 'compiler/rustc_span/src')
-rw-r--r--compiler/rustc_span/src/symbol.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs
index 70fad4911f9..ef0a1792d58 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -668,6 +668,7 @@ symbols! {
         fill,
         finish,
         flags,
+        float,
         float_to_int_unchecked,
         floorf32,
         floorf64,
@@ -771,6 +772,8 @@ symbols! {
         inline_const_pat,
         inout,
         instruction_set,
+        integer_: "integer",
+        integral,
         intel,
         into_future,
         into_iter,