diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-08-01 08:33:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-01 08:33:29 +0200 |
| commit | 7c605258774794ddf2dae5f0c46768e32bf13bd6 (patch) | |
| tree | 091a45fd5597da54242133e7c1e324d069083632 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 2c3b89e4d85b7791280fe6cfcebeee389e2e3f0c (diff) | |
| parent | 6d7bb127e6fab4e8d80b44826eca28f274139eed (diff) | |
| download | rust-7c605258774794ddf2dae5f0c46768e32bf13bd6.tar.gz rust-7c605258774794ddf2dae5f0c46768e32bf13bd6.zip | |
Rollup merge of #128458 - clubby789:optimize-unused-attr, r=compiler-errors
Emit an error if `#[optimize]` is applied to an incompatible item #54882 The RFC specifies that this should emit a lint. I used the same allow logic as the `coverage` attribute (also allowing modules and impl blocks) - this should possibly be changed depending on if it's decided to allow 'propogation' of the attribute.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
