Home
last modified time | relevance | path

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

/third_party/rust/rust/compiler/rustc_middle/src/
Dlint.rs20 pub enum LintLevelSource { enum
39 impl LintLevelSource { impl
75 src: &mut LintLevelSource, in reveal_actual_level()
78 probe_for_lint_level: impl FnOnce(LintId) -> (Option<Level>, LintLevelSource), in reveal_actual_level() argument
126 ) -> (Option<Level>, LintLevelSource) { in probe_for_lint_level() argument
158 ) -> (Level, LintLevelSource) { in lint_level_id_at_node() argument
169 pub fn lint_level_at_node(self, lint: &'static Lint, id: HirId) -> (Level, LintLevelSource) { in lint_level_at_node() argument
228 src: LintLevelSource, in explain_lint_level_source()
305 src: LintLevelSource, in struct_lint_level()
318 src: LintLevelSource, in struct_lint_level()
/third_party/rust/rust/compiler/rustc_lint/src/
Dlevels.rs97 ) -> (Option<Level>, LintLevelSource) { in raw_lint_id_level() argument
959 … let LintLevelSource::Node { name: lint_attr_name, span: lint_attr_span, .. } = *src else { in add() localVariable