rustc_errors::emitter

Function is_case_difference

source
pub fn is_case_difference(sm: &SourceMap, suggested: &str, sp: Span) -> bool
Expand description

Whether the original and suggested code are visually similar enough to warrant extra wording.