bevy_lint/lints/correctness/
mod.rs

1//! Lints that check for outright incorrect code.
2//!
3//! Unlike [`suspicious`](super::suspicious) lints, these are carefully picked to be free of false
4//! positives. You should avoid `#[allow(...)]`-ing these lints without a _very_ good reason.
5//!
6//! These lints are **deny** by default.
7
8use rustc_lint::{Level, Lint, LintStore};
9
10use crate::lint::LintGroup;
11
12pub(crate) struct Correctness;
13
14impl LintGroup for Correctness {
15    const NAME: &str = "bevy::correctness";
16    const LEVEL: Level = Level::Deny;
17    const LINTS: &[&Lint] = &[];
18
19    fn register_passes(_store: &mut LintStore) {}
20}