pub fn lint_strict(file: &File, source: &str, strict_mode: bool) -> LintReportExpand 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).