pub trait DynLintStore:
Any
+ DynSync
+ DynSend {
// Required methods
fn lint_groups_iter(&self) -> Box<dyn Iterator<Item = LintGroup> + '_>;
fn check_attribute_lint_name(
&self,
lint_name: LintName,
lint_tools: &RegisteredTools,
) -> CheckLintNameResult<'_>;
}Required Methods§
Sourcefn lint_groups_iter(&self) -> Box<dyn Iterator<Item = LintGroup> + '_>
fn lint_groups_iter(&self) -> Box<dyn Iterator<Item = LintGroup> + '_>
Provides a way to access lint groups without depending on rustc_lint
fn check_attribute_lint_name( &self, lint_name: LintName, lint_tools: &RegisteredTools, ) -> CheckLintNameResult<'_>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".