(include_path: &str)
| 2470 | } |
| 2471 | |
| 2472 | fn typo_include_suggestion(include_path: &str) -> Option<&'static str> { |
| 2473 | TYPO_INCLUDE_PREFIXES |
| 2474 | .iter() |
| 2475 | .find_map(|(typo, correct)| include_path.starts_with(typo).then_some(*correct)) |
| 2476 | } |
| 2477 | |
| 2478 | fn standard_attribute_replacement(attribute: &str) -> Option<&'static str> { |
| 2479 | ATTRIBUTE_MAPPINGS |
no test coverage detected