Philipp Hansch
2020-01-04 11:00:00 +01:00
parent fa9b85d4df
commit c5178e82b4
70 changed files with 83 additions and 79 deletions

View File

@@ -2,8 +2,8 @@ use rustc::hir::{Crate, Expr, ExprKind, QPath};
use rustc::impl_lint_pass;
use rustc::lint::{LateContext, LateLintPass, LintArray, LintPass};
use rustc_session::declare_tool_lint;
use rustc_span::symbol::sym;
use syntax::ast::AttrKind;
use syntax::symbol::sym;
use crate::utils::{is_entrypoint_fn, snippet, span_help_and_lint};
use if_chain::if_chain;