Home
last modified time | relevance | path

Searched defs:LintStore (Results 1 – 10 of 10) sorted by relevance

/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_lint/src/
H A Dlib.rs230 pub fn new_lint_store(no_interleave_lints: bool, internal_lints: bool) -> LintStore { in new_lint_store()
244 fn register_builtins(store: &mut LintStore, no_interleave_lints: bool) { in register_builtins()
484 fn register_internals(store: &mut LintStore) { in register_internals()
H A Dcontext.rs55 pub struct LintStore { struct
57 lints: Vec<&'static Lint>,
66 pub early_passes: Vec<Box<dyn Fn() -> EarlyLintPassObject + sync::Send + sync::Sync>>,
67 pub late_passes: Vec<Box<dyn Fn() -> LateLintPassObject + sync::Send + sync::Sync>>,
72 by_name: FxHashMap<String, TargetLint>,
75 lint_groups: FxHashMap<&'static str, LintGroup>,
131 impl LintStore { implementation
585 fn lints(&self) -> &LintStore; in lints()
828 lint_store: &'a LintStore, in new()
852 fn lints(&self) -> &LintStore { in lints()
[all …]
H A Dlevels.rs64 store: &'s LintStore, in new()
81 fn process_command_line(&mut self, sess: &Session, store: &LintStore) { in process_command_line()
223 store: &LintStore, in push()
H A Dearly.rs330 lint_store: &LintStore, in early_lint_crate()
364 lint_store: &LintStore, in check_ast_crate()
H A Dlate.rs37 crate fn unerased_lint_store(tcx: TyCtxt<'_>) -> &LintStore { in unerased_lint_store()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_interface/src/
H A Dpasses.rs179 register_lints: impl Fn(&Session, &mut LintStore), in register_plugins()
182 ) -> Result<(ast::Crate, LintStore)> { in register_plugins() argument
238 lint_store: &LintStore, in pre_expansion_lint()
262 lint_store: &LintStore, in configure_and_expand()
471 lint_store: &LintStore, in lower_to_hir()
811 lint_store: Lrc<LintStore>, in create_global_ctxt()
H A Dqueries.rs132 pub fn register_plugins(&self) -> Result<&Query<(ast::Crate, Lrc<LintStore>)>> { in register_plugins()
170 ) -> Result<&Query<(Rc<ast::Crate>, Rc<RefCell<BoxedResolver>>, Lrc<LintStore>)>> { in expansion()
/dports/lang/rust/rustc-1.58.1-src/src/librustdoc/
H A Dlint.rs186 crate fn register_lints(_sess: &Session, lint_store: &mut LintStore) { in register_lints()
/dports/lang/rust/rustc-1.58.1-src/src/tools/clippy/clippy_lints/src/
H A Dlib.rs407 pub fn register_pre_expansion_lints(store: &mut rustc_lint::LintStore) { in register_pre_expansion_lints()
445 pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf: &Conf) { in register_plugins()
786 fn register_removed_non_tool_lints(store: &mut rustc_lint::LintStore) { in register_removed_non_tool_lints()
832 pub fn register_renamed(ls: &mut rustc_lint::LintStore) { in register_renamed()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_driver/src/
H A Dlib.rs823 pub fn describe_lints(sess: &Session, lint_store: &LintStore, loaded_plugins: bool) { in describe_lints()