diff options
| author | Pavel Grigorenko <GrigorenkoPV@ya.ru> | 2025-06-24 01:10:12 +0300 |
|---|---|---|
| committer | Pavel Grigorenko <GrigorenkoPV@ya.ru> | 2025-07-07 14:59:01 +0300 |
| commit | 5d7771e50d1ed3f4174269c78f06691596e632d3 (patch) | |
| tree | 2eb6f44e1386a54d23c0e59e1f6a778e53522da1 /compiler/rustc_attr_data_structures/src/attributes.rs | |
| parent | 99a9fe1b22edd82697a315e67392bfb35690152d (diff) | |
| download | rust-5d7771e50d1ed3f4174269c78f06691596e632d3.tar.gz rust-5d7771e50d1ed3f4174269c78f06691596e632d3.zip | |
Port `#[ffi_pure]` 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 4f9ea8be314..a004a4ed4d7 100644 --- a/compiler/rustc_attr_data_structures/src/attributes.rs +++ b/compiler/rustc_attr_data_structures/src/attributes.rs @@ -254,6 +254,9 @@ pub enum AttributeKind { /// Represents `#[ffi_const]`. FfiConst(Span), + /// Represents `#[ffi_pure]`. + FfiPure(Span), + /// Represents `#[ignore]` Ignore { span: Span, |
