Skip to main content

lint_strict

Function lint_strict 

Source
pub fn lint_strict(file: &File, source: &str, strict_mode: bool) -> LintReport
Expand description

Like lint but with an explicit strict-mode flag. Use this when the driver has already detected #![strict] at the token level (e.g. before the attribute was stripped during lowering).