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`
3 lines
120 B
Rust
3 lines
120 B
Rust
pub static OPTION: [&str; 3] = ["core", "option", "Option"];
|
|
pub const RESULT: &[&str] = &["core", "result", "Result"];
|