rust/compiler/rustc_ast/src
Stuart Cook 3ba12756d3
Rollup merge of #130235 - compiler-errors:nested-if, r=michaelwoerister
Simplify some nested `if` statements

Applies some but not all instances of `clippy::collapsible_if`. Some ended up looking worse afterwards, though, so I left those out. Also applies instances of `clippy::collapsible_else_if`

Review with whitespace disabled please.
2024-09-12 20:37:16 +10:00
..
attr Reformat use declarations. 2024-07-29 08:26:52 +10:00
expand Reformat use declarations. 2024-07-29 08:26:52 +10:00
util Reformat use declarations. 2024-07-29 08:26:52 +10:00
ast.rs disallow naked_asm! outside of #[naked] functions 2024-09-10 15:19:14 +02:00
ast_traits.rs Remove needless returns detected by clippy in the compiler 2024-09-09 13:32:22 +02:00
entry.rs Also fix if in else 2024-09-11 17:24:01 -04:00
format.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
lib.rs Add warn(unreachable_pub) to several crates. 2024-08-16 08:46:13 +10:00
mut_visit.rs disallow naked_asm! outside of #[naked] functions 2024-09-10 15:19:14 +02:00
node_id.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
ptr.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
token.rs Add initial support for raw lifetimes 2024-09-06 10:32:48 -04:00
tokenstream.rs Add initial support for raw lifetimes 2024-09-06 10:32:48 -04:00
visit.rs disallow naked_asm! outside of #[naked] functions 2024-09-10 15:19:14 +02:00