We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a200679 commit 1e43c23Copy full SHA for 1e43c23
clippy_config/src/conf.rs
@@ -108,7 +108,7 @@ struct ConfError {
108
109
impl ConfError {
110
fn from_toml(file: &SourceFile, error: &toml::de::Error) -> Self {
111
- let span = error.span().unwrap_or(0..file.source_len.0 as usize);
+ let span = error.span().unwrap_or(0..file.normalized_source_len.0 as usize);
112
Self::spanned(file, error.message(), None, span)
113
}
114
0 commit comments