mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-24 03:53:20 +00:00
162aa19793
* Check for `const`s and `static`s from external crates * Check for `LangItem`s * Handle inherent functions which have the same name as a field * Also check the following functions: * `match_trait_method` * `match_def_path` * `is_expr_path_def_path` * `is_qpath_def_path` * Handle checking for a constructor to a diagnostic item or `LangItem`
2 lines
120 B
Rust
2 lines
120 B
Rust
pub static OPTION: [&str; 3] = ["core", "option", "Option"];
|
|
pub const RESULT: &[&str] = &["core", "result", "Result"];
|