diff options
| author | bors <bors@rust-lang.org> | 2019-04-23 18:24:10 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-04-23 18:24:10 +0000 |
| commit | 9897442f27f15840b459c3e8a480c9082775fbd1 (patch) | |
| tree | c39907e8963f28558be0c9c83d51b0c461c6ca9f /src/test/incremental/thinlto | |
| parent | 65d60e95fb58e54c855e3f9974f554b56f5d9c93 (diff) | |
| parent | b03cf3ff97f3edc0f153a5f069ef431ab642873e (diff) | |
| download | rust-9897442f27f15840b459c3e8a480c9082775fbd1.tar.gz rust-9897442f27f15840b459c3e8a480c9082775fbd1.zip | |
Auto merge of #4018 - rust-lang:or_fn_call_variants, r=oli-obk
Ignore non-const ctor expressions in or_fn_call Fixes https://github.com/rust-lang/rust-clippy/issues/1338 Should have been fixed by #919, however that focuses on const ctor expressions only, and `.or(Some(local))` isn't const. This also automatically ignores things like `.or(Some(local.clone())` which we don't actually want to do; I need to figure out what to do here. changelog: Fixed false positive in [`or_fn_call`] pertaining to enum variant constructors r? @oli-obk @phansch
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
