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_codegen_ssa/src/errors.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_codegen_ssa/src/errors.rs')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/errors.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_ssa/src/errors.rs b/compiler/rustc_codegen_ssa/src/errors.rs index 72e71b97a17..caac0f83f9d 100644 --- a/compiler/rustc_codegen_ssa/src/errors.rs +++ b/compiler/rustc_codegen_ssa/src/errors.rs @@ -1310,3 +1310,11 @@ impl<G: EmissionGuarantee> Diagnostic<'_, G> for TargetFeatureDisableOrEnable<'_ diag } } + +#[derive(Diagnostic)] +#[diag(codegen_ssa_no_mangle_nameless)] +pub(crate) struct NoMangleNameless { + #[primary_span] + pub span: Span, + pub definition: String, +} |
