forge_lint/sol/med/
mod.rs

1use crate::sol::{EarlyLintPass, LateLintPass, SolLint};
2
3mod div_mul;
4use div_mul::DIVIDE_BEFORE_MULTIPLY;
5
6mod unsafe_typecast;
7use unsafe_typecast::UNSAFE_TYPECAST;
8
9register_lints!(
10    (DivideBeforeMultiply, early, (DIVIDE_BEFORE_MULTIPLY)),
11    (UnsafeTypecast, late, (UNSAFE_TYPECAST))
12);