diff options
| author | bors <bors@rust-lang.org> | 2023-09-04 23:09:56 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-09-04 23:09:56 +0000 |
| commit | 04374cd74264b9d3b7d2d3df08ae38df8af4d020 (patch) | |
| tree | 6e1eb39429f2567231705c6a6cfbe499234f28e5 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | ec08a0337f3556212525dbf1d3b41e19bdf27621 (diff) | |
| parent | 9190e960e1c6b2c2e73c23e85545656ab1577761 (diff) | |
| download | rust-04374cd74264b9d3b7d2d3df08ae38df8af4d020.tar.gz rust-04374cd74264b9d3b7d2d3df08ae38df8af4d020.zip | |
Auto merge of #114089 - Urgau:allow-with-implied-by, r=petrochenkov
Add an allow attribute suggestion along with the implied by suggestion This PR adds an `#[allow(...)]` attribute hep suggestion along with the implied by suggestion: ```diff note: `-W dead-code` implied by `-W unused` + help: to override `-W unused` add `#[allow(dead_code)]` ``` This PR also adds the `OnceHelp` lint level (similar to `OnceNote`) to only put the help message one time, like the implied note. Related to https://github.com/rust-lang/rust/issues/114030
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
