diff options
| author | bors <bors@rust-lang.org> | 2025-06-23 06:37:23 +0000 | 
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-06-23 06:37:23 +0000 | 
| commit | 22be76b7e259f27bf3e55eb931f354cd8b69d55f (patch) | |
| tree | a9d51ec5ae1d74507901374879fcde568e4b6e0d /compiler/rustc_attr_data_structures/src/attributes.rs | |
| parent | 58d5e1169056f31553ecf680b009a5770eb0e859 (diff) | |
| parent | 110492092ca22879c385f83e545f31b22f2eac66 (diff) | |
| download | rust-22be76b7e259f27bf3e55eb931f354cd8b69d55f.tar.gz rust-22be76b7e259f27bf3e55eb931f354cd8b69d55f.zip  | |
Auto merge of #142901 - matthiaskrgr:rollup-topt4p6, r=matthiaskrgr
Rollup of 5 pull requests Successful merges: - rust-lang/rust#141597 (Document subdirectories of UI tests with README files) - rust-lang/rust#142823 (Port `#[no_mangle]` to new attribute parsing infrastructure) - rust-lang/rust#142828 (1.88.0 release notes) - rust-lang/rust#142854 (centralize `-Zmin-function-alignment` logic) - rust-lang/rust#142875 (Check rustdoc-json-types FORMAT_VERSION is correctly updated) r? `@ghost` `@rustbot` modify labels: rollup
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 ce1d8080262..c7487847e6f 100644 --- a/compiler/rustc_attr_data_structures/src/attributes.rs +++ b/compiler/rustc_attr_data_structures/src/attributes.rs @@ -244,6 +244,9 @@ pub enum AttributeKind { reason: Option<Symbol>, }, + /// Represents `#[no_mangle]` + NoMangle(Span), + /// Represents `#[optimize(size|speed)]` Optimize(OptimizeAttr, Span),  | 
