Files
rust/compiler
Matthias Krüger 83ed227a8f 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 🙃

cc: #55112
2022-03-08 11:04:52 +01:00
..
2022-01-28 16:56:05 +01:00
2021-12-14 18:50:31 -04:00
2022-03-05 21:20:12 -05:00
2022-03-01 20:02:47 +08:00
2022-03-03 19:47:23 +08:00
2022-02-24 17:01:01 +11:00
2022-03-05 13:15:00 -05:00
2022-03-05 15:31:22 +01:00
2022-03-07 13:41:47 +11:00
2022-02-25 08:00:52 -05:00
2022-02-22 18:14:51 -05:00
2022-03-07 13:41:47 +11:00