rust/tests
bors 7c5095c502 Auto merge of #11195 - thvdveld:fix-option-env-ifs-equal-cond, r=Manishearth
fix: false positive for `option_env!` in `ifs_same_cond`

Clippy had a false positive for with `ifs_same_cond` when two if-let expressions have an `option_env!` macro. The fix is similar to the `env!` macro fix.

The following example had a clippy error:

```rust
if let Some(env1) = option_env!("ENV1") {
    // ...
} else if let Some(env2) = option_env!("ENV2") {
    // ...
}
```

See https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=01b85c61b56ddd900117fb247af04824

changelog: [`ifs_same_cond`]: fix false positive when using `option_env!` in if-let expressions.
2023-07-20 14:46:23 +00:00
..
test_utils
ui Auto merge of #11195 - thvdveld:fix-option-env-ifs-equal-cond, r=Manishearth 2023-07-20 14:46:23 +00:00
ui-cargo Remove unused flags from ui-cargo tests 2023-07-18 18:46:09 +00:00
ui-internal clippy-driver: Update bug URL to use the ice template 2023-07-16 11:51:01 +02:00
ui-toml Remove the configuration option 2023-07-19 02:08:33 -05:00
workspace_test
check-fmt.rs
clippy.toml
compile-test.rs Merge remote-tracking branch 'upstream/master' into rustup 2023-07-14 13:36:16 +02:00
dogfood.rs
headers.rs
integration.rs
lint_message_convention.rs
missing-test-files.rs
versioncheck.rs
workspace.rs