about summary refs log tree commit diff
path: root/compiler/rustc_feature
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2023-04-29 14:57:26 +0200
committerest31 <MTest31@outlook.com>2023-05-05 21:44:48 +0200
commit83b4df4e611961373ffaf4bfcd9f8940a4f37c09 (patch)
tree85d737c61f42bb70cef306a56292c83abcf25ab9 /compiler/rustc_feature
parent5eb29c7f49c2d99e9bfc778f30984f7fdcf5fc08 (diff)
downloadrust-83b4df4e611961373ffaf4bfcd9f8940a4f37c09.tar.gz
rust-83b4df4e611961373ffaf4bfcd9f8940a4f37c09.zip
Add feature gate
Diffstat (limited to 'compiler/rustc_feature')
-rw-r--r--compiler/rustc_feature/src/active.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs
index 7e7df0e9584..a797dd94404 100644
--- a/compiler/rustc_feature/src/active.rs
+++ b/compiler/rustc_feature/src/active.rs
@@ -313,6 +313,8 @@ declare_features! (
     (active, async_closure, "1.37.0", Some(62290), None),
     /// Allows async functions to be declared, implemented, and used in traits.
     (active, async_fn_in_trait, "1.66.0", Some(91611), None),
+    /// Allows builtin # foo() syntax
+    (active, builtin_syntax, "CURRENT_RUSTC_VERSION", Some(110680), None),
     /// Allows `c"foo"` literals.
     (active, c_str_literals, "CURRENT_RUSTC_VERSION", Some(105723), None),
     /// Treat `extern "C"` function as nounwind.