Files
rust/compiler
Matthias Krüger 0286591d59 Rollup merge of #122416 - Zalathar:levels, r=petrochenkov
Various style improvements to `rustc_lint::levels`

While reading this file, I noticed a few opportunities to make things a little nicer:

- Replace some nested if-let with let-chains
- Tweak a match pattern to allow shorthand struct syntax
- Fuse an `is_empty` check with getting the last element
- Merge some common code that emits `MalformedAttribute` and continues
- Format `"{tool}::{name}"` in a way that's consistent with other match arms
- Replace if-let-else-panic with let-else
- Use early-exit to flatten a method body

Some of these changes cause indentation churn, so ignoring whitespace is recommended.
2024-03-14 11:09:59 +01:00
..
2024-03-08 23:20:29 -05:00
2024-03-12 08:51:20 +00:00
2024-02-06 13:12:33 +11:00
2024-02-06 13:12:33 +11:00
2024-03-06 16:54:42 +01:00
2024-02-06 13:12:33 +11:00
2024-03-12 05:53:46 +00:00
2024-03-13 13:57:23 +08:00
2024-03-09 21:16:43 +08:00