pacify the merciless tidy: s/E0521/E0522

Gah. I always find it confusing that make tidy gives me the highest error
code, but not the **next** error code.
This commit is contained in:
Niko Matsakis 2016-03-17 05:32:04 -04:00
parent af057bdb1c
commit 5a68116240
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -88,5 +88,5 @@ register_diagnostics! {
E0469, // imported macro not found
E0470, // reexported macro not found
E0519, // local crate and dependency have same (crate-name, disambiguator)
E0521, // two dependencies have same (crate-name, disambiguator) but different SVH
E0522, // two dependencies have same (crate-name, disambiguator) but different SVH
}