rust/tests
bors 9897442f27 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
2019-04-23 18:24:10 +00:00
..
auxiliary
ui Add test 2019-04-23 08:01:42 -07:00
ui-toml NFC: fix typos 2019-04-04 11:15:30 +02:00
compile-test.rs compiletest: Disambiguate extern crate deps shared with the compiler 2019-04-23 10:32:41 +02:00
dogfood.rs
matches.rs
missing-test-files.rs removing redundant closures in the whole project 2019-02-10 13:35:44 +01:00
needless_continue_helpers.rs
versioncheck.rs