Re-exportsยง
use rustc_ast as ast;๐use rustc_attr_ir::lang_items::LangItem;๐use rustc_errors::Applicability;๐use rustc_errors::Diag;๐use rustc_errors::DiagCtxtHandle;๐use rustc_errors::Diagnostic;๐use rustc_errors::Level;๐use rustc_errors::msg;๐use rustc_hir as hir;๐use rustc_hir::def_id::DefId;๐use rustc_infer::infer::TyCtxtInferExt;๐use rustc_lint_defs::declare_lint;๐use rustc_lint_defs::declare_lint_pass;๐use rustc_lint_defs::fcw;๐use rustc_middle::ty;๐use rustc_parse_format::ParseMode;๐use rustc_parse_format::Parser;๐use rustc_parse_format::Piece;๐use rustc_span::InnerSpan;๐use rustc_span::Span;๐use rustc_span::Symbol;๐use rustc_span::bug;๐use rustc_span::hygiene;๐use rustc_span::sym;๐use rustc_trait_selection::infer::InferCtxtExt;๐use crate::diagnostics::NonFmtPanicBraces;๐use crate::diagnostics::NonFmtPanicUnused;๐use crate::LateContext;๐use crate::LateLintPass;๐use crate::LintContext;๐
Structsยง
Staticsยง
- NON_
FMT_ ๐PANICS - The
non_fmt_panicslint detectspanic!(..)invocations where the first argument is not a formatting string.
Functionsยง
- check_
panic ๐ - check_
panic_ ๐str - find_
delimiters ๐ - Given the span of
some_macro!(args);, gives the span of(and), and the type of (opening) delimiter used. - is_
arg_ ๐inside_ call - panic_
call ๐