rust/compiler/rustc_resolve/src
ecstatic-morse dcf4d1f2be
Rollup merge of #76888 - matthiaskrgr:clippy_single_match_2, r=Dylan-DPC
use if let instead of single match arm expressions

use if let instead of single match arm expressions to compact code and reduce nesting (clippy::single_match)
2020-09-21 20:40:55 -07:00
..
late use strip_prefix over starts_with and manual slicing based on pattern length (clippy::manual_strip) 2020-09-17 10:13:16 +02:00
build_reduced_graph.rs use matches!() macro for simple if let conditions 2020-09-18 20:28:35 +02:00
check_unused.rs Attach TokenStream to ast::Visibility 2020-09-10 17:33:06 -04:00
def_collector.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
diagnostics.rs Remove redundant &format!. 2020-09-15 11:11:18 +02:00
imports.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
late.rs use matches!() macro for simple if let conditions 2020-09-18 20:28:35 +02:00
lib.rs use if let instead of single match arm expressions to compact code and reduce nesting (clippy::single_match) 2020-09-20 11:42:52 +02:00
macros.rs Give a better error message for duplicate built-in macros 2020-09-01 08:34:17 -04:00