diff options
| author | Pavel Grigorenko <GrigorenkoPV@ya.ru> | 2025-07-04 15:53:03 +0300 |
|---|---|---|
| committer | Pavel Grigorenko <GrigorenkoPV@ya.ru> | 2025-07-07 14:59:52 +0300 |
| commit | 4f0b0b0f01ef3e5a2445993faf8367a4e17b8df0 (patch) | |
| tree | ead8aefc9bcc3ce497284ef5574d0df743f784af /compiler/rustc_attr_data_structures/src/attributes.rs | |
| parent | 5d7771e50d1ed3f4174269c78f06691596e632d3 (diff) | |
| download | rust-4f0b0b0f01ef3e5a2445993faf8367a4e17b8df0.tar.gz rust-4f0b0b0f01ef3e5a2445993faf8367a4e17b8df0.zip | |
Port `#[rustc_std_internal_symbol]` to the new attribute system
Diffstat (limited to 'compiler/rustc_attr_data_structures/src/attributes.rs')
| -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 a004a4ed4d7..d3ab368bb20 100644 --- a/compiler/rustc_attr_data_structures/src/attributes.rs +++ b/compiler/rustc_attr_data_structures/src/attributes.rs @@ -335,6 +335,9 @@ pub enum AttributeKind { span: Span, }, + /// Represents `#[rustc_std_internal_symbol]`. + StdInternalSymbol(Span), + /// Represents `#[target_feature(enable = "...")]` TargetFeature(ThinVec<(Symbol, Span)>, Span), |
