mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-04 02:54:00 +00:00
Update needless_if.fixed
This commit is contained in:
parent
59bca098f9
commit
d989f432a4
@ -48,7 +48,10 @@ fn main() {
|
||||
if let true = true {}
|
||||
if let true = true && true {}
|
||||
if true && let true = true {}
|
||||
if { if let true = true && true { true } else { false } } && true {}
|
||||
if {
|
||||
if let true = true && true { true } else { false }
|
||||
} && true
|
||||
{}
|
||||
external! { if (true) {} }
|
||||
with_span! {
|
||||
span
|
||||
|
Loading…
Reference in New Issue
Block a user