]> git.lizzy.rs Git - rust.git/commitdiff
Merge remote-tracking branch 'origin/master' into 8282-single-match
authorGeorgy Komarov <jubnzv@gmail.com>
Wed, 26 Jan 2022 11:15:50 +0000 (14:15 +0300)
committerGeorgy Komarov <jubnzv@gmail.com>
Wed, 26 Jan 2022 11:16:15 +0000 (14:16 +0300)
1  2 
clippy_lints/src/matches.rs

index be9eff4237bab047ca840bebbd7b6ad6aa532e40,017e4a33980e41abee285321bc9cd975d24f762a..dc6e4f96969d46d0dc476506de531e4e82915f78
@@@ -30,8 -30,8 +30,8 @@@ use rustc_middle::ty::{self, Ty, TyS, V
  use rustc_semver::RustcVersion;
  use rustc_session::{declare_tool_lint, impl_lint_pass};
  use rustc_span::source_map::{Span, Spanned};
- use rustc_span::sym;
+ use rustc_span::{sym, symbol::kw};
 -use std::cmp::Ordering;
 +use std::cmp::{max, Ordering};
  use std::collections::hash_map::Entry;
  
  declare_clippy_lint! {