about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2018-06-19 16:22:37 -0700
committerEsteban Küber <esteban@kuber.com.ar>2018-06-19 17:33:14 -0700
commit28cea50a46f4669b94d8332bf64d07e7e5a02d79 (patch)
tree2c80ef675bd6fcb923fac39f4906fd9d7e69c6fb /src/libsyntax/parse
parentd4bfae1319b314f9eb0507f62ac16456ee55f0d0 (diff)
downloadrust-28cea50a46f4669b94d8332bf64d07e7e5a02d79.tar.gz
rust-28cea50a46f4669b94d8332bf64d07e7e5a02d79.zip
Update error code numbers
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/parser.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 398d2f04d0f..2c6ea50d2c8 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -6000,7 +6000,7 @@ impl<'a> Parser<'a> {
                 let sp = self.prev_span;
                 let help_msg = format!("make this visible only to module `{}` with `in`", path);
                 self.expect(&token::CloseDelim(token::Paren))?;  // `)`
-                let mut err = struct_span_err!(self.sess.span_diagnostic, sp, E0698, "{}", msg);
+                let mut err = struct_span_err!(self.sess.span_diagnostic, sp, E0704, "{}", msg);
                 err.help(suggestion);
                 err.span_suggestion_with_applicability(
                     sp, &help_msg, format!("in {}", path), Applicability::MachineApplicable
@@ -6550,7 +6550,7 @@ impl<'a> Parser<'a> {
                         let mut err = struct_span_err!(
                             self.sess.span_diagnostic,
                             prev_span,
-                            E0697,
+                            E0703,
                             "invalid ABI: found `{}`",
                             s);
                         err.span_label(prev_span, "invalid ABI");