+1
-2
compiler-core/src/type_/error.rs
+1
-2
compiler-core/src/type_/error.rs
···
1018
1018
1019
1019
/// Top-level definition should not shadow an imported one.
1020
1020
/// This includes constant or function imports.
1021
-
TopLevelDefinitionShadowsImport{
1021
+
TopLevelDefinitionShadowsImport {
1022
1022
location: SrcSpan,
1023
1023
name: EcoString,
1024
1024
},
···
1251
1251
| Warning::ModuleImportedTwice {
1252
1252
second: location, ..
1253
1253
} => *location,
1254
-
1255
1254
}
1256
1255
}
1257
1256