Merge remote-tracking branch 'upstream/master' into rustup

This commit is contained in:
flip1995 2021-01-15 10:02:28 +01:00
commit 9bd037d0b5
No known key found for this signature in database
GPG key ID: 1CA0DF2AF59D68A5
105 changed files with 2300 additions and 270 deletions

View file

@ -2,7 +2,7 @@
use crate::utils::{in_macro, span_lint_and_then};
use rustc_data_structures::fx::FxHashMap;
use rustc_hir::{def_id, Crate, Item, ItemKind, Impl};
use rustc_hir::{def_id, Crate, Impl, Item, ItemKind};
use rustc_lint::{LateContext, LateLintPass};
use rustc_session::{declare_tool_lint, impl_lint_pass};
use rustc_span::Span;