about summary refs log tree commit diff
path: root/compiler/rustc_attr_data_structures
diff options
context:
space:
mode:
authortiif <pekyuan@gmail.com>2025-07-14 13:30:36 +0000
committertiif <pekyuan@gmail.com>2025-07-15 13:48:29 +0000
commitfecd99881d545d6096d5489419f096cffe53b171 (patch)
treecc19b27e244877becc4dea7d9969843e64c64baf /compiler/rustc_attr_data_structures
parenta9fb6103b05c6ad6eee6bed4c0bb5a2e8e1024c6 (diff)
downloadrust-fecd99881d545d6096d5489419f096cffe53b171.tar.gz
rust-fecd99881d545d6096d5489419f096cffe53b171.zip
Setup unstable feature bound attribute
Diffstat (limited to 'compiler/rustc_attr_data_structures')
-rw-r--r--compiler/rustc_attr_data_structures/src/attributes.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_attr_data_structures/src/attributes.rs b/compiler/rustc_attr_data_structures/src/attributes.rs
index 995ac514d8d..5f38be346ed 100644
--- a/compiler/rustc_attr_data_structures/src/attributes.rs
+++ b/compiler/rustc_attr_data_structures/src/attributes.rs
@@ -417,6 +417,9 @@ pub enum AttributeKind {
     /// Represents `#[rustc_unsafe_specialization_marker]`.
     UnsafeSpecializationMarker(Span),
 
+    /// Represents `#[unstable_feature_bound]`.
+    UnstableFeatureBound(ThinVec<(Symbol, Span)>),
+
     /// Represents `#[used]`
     Used { used_by: UsedBy, span: Span },
     // tidy-alphabetical-end