summaryrefslogtreecommitdiffstats
path: root/src/test/ui/resolve/resolve-bad-visibility.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
commit218caa410aa38c29984be31a5229b9fa717560ee (patch)
treec54bd55eeb6e4c508940a30e94c0032fbd45d677 /src/test/ui/resolve/resolve-bad-visibility.stderr
parentReleasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz
rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/ui/resolve/resolve-bad-visibility.stderr')
-rw-r--r--src/test/ui/resolve/resolve-bad-visibility.stderr38
1 files changed, 0 insertions, 38 deletions
diff --git a/src/test/ui/resolve/resolve-bad-visibility.stderr b/src/test/ui/resolve/resolve-bad-visibility.stderr
deleted file mode 100644
index 2ac41b875..000000000
--- a/src/test/ui/resolve/resolve-bad-visibility.stderr
+++ /dev/null
@@ -1,38 +0,0 @@
-error[E0577]: expected module, found enum `E`
- --> $DIR/resolve-bad-visibility.rs:4:8
- |
-LL | pub(in E) struct S;
- | ^ not a module
-
-error[E0577]: expected module, found trait `Tr`
- --> $DIR/resolve-bad-visibility.rs:5:8
- |
-LL | pub(in Tr) struct Z;
- | ^^ not a module
-
-error[E0742]: visibilities can only be restricted to ancestor modules
- --> $DIR/resolve-bad-visibility.rs:6:8
- |
-LL | pub(in std::vec) struct F;
- | ^^^^^^^^
-
-error[E0433]: failed to resolve: maybe a missing crate `nonexistent`?
- --> $DIR/resolve-bad-visibility.rs:7:8
- |
-LL | pub(in nonexistent) struct G;
- | ^^^^^^^^^^^ maybe a missing crate `nonexistent`?
- |
- = help: consider adding `extern crate nonexistent` to use the `nonexistent` crate
-
-error[E0433]: failed to resolve: maybe a missing crate `too_soon`?
- --> $DIR/resolve-bad-visibility.rs:8:8
- |
-LL | pub(in too_soon) struct H;
- | ^^^^^^^^ maybe a missing crate `too_soon`?
- |
- = help: consider adding `extern crate too_soon` to use the `too_soon` crate
-
-error: aborting due to 5 previous errors
-
-Some errors have detailed explanations: E0433, E0577, E0742.
-For more information about an error, try `rustc --explain E0433`.