diff options
| author | bors <bors@rust-lang.org> | 2025-01-25 17:16:33 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-01-25 17:16:33 +0000 |
| commit | f7cc13af822fe68c64fec0b05aa9dd1412451f7c (patch) | |
| tree | 7514742ff7f5cb7b1be77b2f5c718e38869c7858 /compiler/rustc_passes/src/errors.rs | |
| parent | 203e6c127c50c499be53731a39fe36d24f544502 (diff) | |
| parent | 8b92619ce6b1c0ac41cb7fa97d6c550ee0b6785d (diff) | |
| download | rust-f7cc13af822fe68c64fec0b05aa9dd1412451f7c.tar.gz rust-f7cc13af822fe68c64fec0b05aa9dd1412451f7c.zip | |
Auto merge of #119286 - jyn514:linker-output, r=bjorn3
show linker output even if the linker succeeds Show stderr and stderr by default, controlled by a new `linker_messages` lint. fixes https://github.com/rust-lang/rust/issues/83436. fixes https://github.com/rust-lang/rust/issues/38206. cc https://rust-lang.zulipchat.com/#narrow/stream/233931-t-compiler.2Fmajor-changes/topic/uplift.20some.20-Zverbose.20calls.20and.20rename.20to.E2.80.A6.20compiler-team.23706/near/408986134 <!-- try-job: dist-x86_64-msvc --> try-job: aarch64-apple r? `@bjorn3`
Diffstat (limited to 'compiler/rustc_passes/src/errors.rs')
| -rw-r--r-- | compiler/rustc_passes/src/errors.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_passes/src/errors.rs b/compiler/rustc_passes/src/errors.rs index 3d38b00e99f..196a0a46962 100644 --- a/compiler/rustc_passes/src/errors.rs +++ b/compiler/rustc_passes/src/errors.rs @@ -802,6 +802,8 @@ pub(crate) enum UnusedNote { NoLints { name: Symbol }, #[note(passes_unused_default_method_body_const_note)] DefaultMethodBodyConst, + #[note(passes_unused_linker_warnings_note)] + LinkerWarningsBinaryCrateOnly, } #[derive(LintDiagnostic)] |
