Skip to content

Commit e366ca6

Browse files
committed
renumber error from E0522 to E0523
another name was added in the meantime
1 parent b1c92d7 commit e366ca6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/librustc_metadata/creader.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ impl<'a> CrateReader<'a> {
298298
if other.name() == crate_name && // same crate-name
299299
other.disambiguator() == disambiguator && // same crate-disambiguator
300300
other.hash() != svh { // but different SVH
301-
span_fatal!(self.sess, span, E0522,
301+
span_fatal!(self.sess, span, E0523,
302302
"found two different crates with name `{}` that are \
303303
not distinguished by differing `-C metadata`. This \
304304
will result in symbol conflicts between the two.",

src/librustc_metadata/diagnostics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,5 @@ register_diagnostics! {
8888
E0469, // imported macro not found
8989
E0470, // reexported macro not found
9090
E0519, // local crate and dependency have same (crate-name, disambiguator)
91-
E0522, // two dependencies have same (crate-name, disambiguator) but different SVH
91+
E0523, // two dependencies have same (crate-name, disambiguator) but different SVH
9292
}

0 commit comments

Comments
 (0)