diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-03-08 11:04:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-08 11:04:52 +0100 |
| commit | 83ed227a8f66faccade2fa9affc51e50a0087a5b (patch) | |
| tree | e42af7f3d6b86009cf38a7e4c5e1c39707731e23 /compiler/rustc_codegen_llvm/src | |
| parent | aec535f8051c7cf00b1e373a05893b2cb580eeac (diff) | |
| parent | 700ec66aed90f446a2d09b6fc96599b1f8099057 (diff) | |
| download | rust-83ed227a8f66faccade2fa9affc51e50a0087a5b.tar.gz rust-83ed227a8f66faccade2fa9affc51e50a0087a5b.zip | |
Rollup merge of #94580 - xFrednet:55112-only-reason-in-lint-attr, r=lcnr
Emit `unused_attributes` if a level attr only has a reason Fixes a comment from `compiler/rustc_lint/src/levels.rs`. Lint level attributes that only contain a reason will also trigger the `unused_attribute` lint. The lint now also checks for the `expect` lint level. That's it, have a great rest of the day for everyone reasoning this :upside_down_face: cc: #55112
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
