about summary refs log tree commit diff
path: root/src/test/ui/resolve
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2019-10-29 13:59:22 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2019-10-29 13:59:40 +0100
commit9869e5b969553699af4f50433170827d4e440e60 (patch)
tree5f3e0b453178a1ac1052002f04dd6f25abfb5bf8 /src/test/ui/resolve
parent6c7fe5a94ee1c6c22ec6c2c6e986ea68f8b3e7f6 (diff)
downloadrust-9869e5b969553699af4f50433170827d4e440e60.tar.gz
rust-9869e5b969553699af4f50433170827d4e440e60.zip
Change E0741 into E0742
Diffstat (limited to 'src/test/ui/resolve')
-rw-r--r--src/test/ui/resolve/resolve-bad-visibility.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/resolve/resolve-bad-visibility.stderr b/src/test/ui/resolve/resolve-bad-visibility.stderr
index b077bb81872..43af38cf491 100644
--- a/src/test/ui/resolve/resolve-bad-visibility.stderr
+++ b/src/test/ui/resolve/resolve-bad-visibility.stderr
@@ -10,7 +10,7 @@ error[E0577]: expected module, found trait `Tr`
 LL | pub(in Tr) struct Z;
    |        ^^ not a module
 
-error[E0741]: visibilities can only be restricted to ancestor modules
+error[E0742]: visibilities can only be restricted to ancestor modules
   --> $DIR/resolve-bad-visibility.rs:6:8
    |
 LL | pub(in std::vec) struct F;
@@ -30,5 +30,5 @@ LL | pub(in too_soon) struct H;
 
 error: aborting due to 5 previous errors
 
-Some errors have detailed explanations: E0433, E0741.
+Some errors have detailed explanations: E0433, E0742.
 For more information about an error, try `rustc --explain E0433`.