Due to https://github.com/rust-lang/rust/pull/51285
This commit is contained in:
Philipp Hansch 2019-01-24 20:32:18 +01:00
parent 99c5388ce6
commit 0bac0149e7
No known key found for this signature in database
GPG key ID: B6FA06A6E0E2665B

View file

@ -4,8 +4,8 @@ use rustc::hir::*;
use rustc::lint::{LateContext, LateLintPass, LintArray, LintPass}; use rustc::lint::{LateContext, LateLintPass, LintArray, LintPass};
use rustc::{declare_tool_lint, lint_array}; use rustc::{declare_tool_lint, lint_array};
use syntax::ast::LitKind; use syntax::ast::LitKind;
use syntax::ext::quote::rt::Span;
use syntax::ptr::P; use syntax::ptr::P;
use syntax_pos::Span;
/// **What it does:** Checks for missing parameters in `panic!`. /// **What it does:** Checks for missing parameters in `panic!`.
/// ///