diff options
| author | The Miri Cronjob Bot <miri@cron.bot> | 2025-07-25 05:08:27 +0000 |
|---|---|---|
| committer | The Miri Cronjob Bot <miri@cron.bot> | 2025-07-25 05:08:27 +0000 |
| commit | 8ff5894541e058efef81be97689d83401b6793af (patch) | |
| tree | 5c52dde4eaf49da2828efa6f2a7e728ffb4530db /compiler/rustc_codegen_ssa/src/errors.rs | |
| parent | 0258894b762a163df714a86589a9e8158b354499 (diff) | |
| parent | 51c5f191dec8b78b8a1b6e26eec26c26556125e3 (diff) | |
| download | rust-8ff5894541e058efef81be97689d83401b6793af.tar.gz rust-8ff5894541e058efef81be97689d83401b6793af.zip | |
Merge ref 'b56aaec52bc0' from rust-lang/rust
Pull recent changes from https://github.com/rust-lang/rust via Josh. Upstream ref: b56aaec52bc0fa35591a872fb4aac81f606e265c Filtered ref: 12f5e3255df658296af9fc953d8c1ab79ba91ea3 This merge was created using https://github.com/rust-lang/josh-sync.
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/errors.rs')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/errors.rs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_ssa/src/errors.rs b/compiler/rustc_codegen_ssa/src/errors.rs index 9040915b6af..3d787d8bdbd 100644 --- a/compiler/rustc_codegen_ssa/src/errors.rs +++ b/compiler/rustc_codegen_ssa/src/errors.rs @@ -1294,3 +1294,20 @@ pub(crate) struct FeatureNotValid<'a> { #[help] pub plus_hint: bool, } + +#[derive(Diagnostic)] +#[diag(codegen_ssa_lto_disallowed)] +pub(crate) struct LtoDisallowed; + +#[derive(Diagnostic)] +#[diag(codegen_ssa_lto_dylib)] +pub(crate) struct LtoDylib; + +#[derive(Diagnostic)] +#[diag(codegen_ssa_lto_proc_macro)] +pub(crate) struct LtoProcMacro; + +#[derive(Diagnostic)] +#[diag(codegen_ssa_dynamic_linking_with_lto)] +#[note] +pub(crate) struct DynamicLinkingWithLTO; |
