diff options
| author | tiif <pekyuan@gmail.com> | 2025-07-14 13:30:36 +0000 |
|---|---|---|
| committer | tiif <pekyuan@gmail.com> | 2025-07-15 13:48:29 +0000 |
| commit | fecd99881d545d6096d5489419f096cffe53b171 (patch) | |
| tree | cc19b27e244877becc4dea7d9969843e64c64baf /compiler/rustc_attr_data_structures | |
| parent | a9fb6103b05c6ad6eee6bed4c0bb5a2e8e1024c6 (diff) | |
| download | rust-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.rs | 3 |
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 |
