Home
last modified time | relevance | path

Searched defs:LintData (Results 1 – 2 of 2) sorted by relevance

/third_party/rust/rust/src/tools/clippy/clippy_lints/src/
Dneedless_continue.rs260 struct LintData<'a> { struct
262 if_expr: &'a ast::Expr,
264 if_cond: &'a ast::Expr,
266 if_block: &'a ast::Block,
290 fn emit_warning(cx: &EarlyContext<'_>, data: &LintData<'_>, header: &str, typ: LintType) { in emit_warning() argument
/third_party/rust/rust/src/tools/clippy/clippy_dev/src/
Dnew_lint.rs10 struct LintData<'a> { struct
11 pass: &'a str,
12 name: &'a str,
13 category: &'a str,
14 ty: Option<&'a str>,
15 project_root: PathBuf,