]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/proc-macro/issue-50493.stderr
Change E0741 into E0742
[rust.git] / src / test / ui / proc-macro / issue-50493.stderr
index 28c61a2f52fed141c7473be7fc6221c9a31060a6..6b8724457a6a3621bc2b3dd1fdb6795f713aa909 100644 (file)
@@ -1,4 +1,4 @@
-error: visibilities can only be restricted to ancestor modules
+error[E0742]: visibilities can only be restricted to ancestor modules
   --> $DIR/issue-50493.rs:8:12
    |
 LL |     pub(in restricted) field: usize,
@@ -12,4 +12,5 @@ LL | #[derive(Derive)]
 
 error: aborting due to 2 previous errors
 
-For more information about this error, try `rustc --explain E0616`.
+Some errors have detailed explanations: E0616, E0742.
+For more information about an error, try `rustc --explain E0616`.