summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0603.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/error-codes/E0603.stderr')
-rw-r--r--src/test/ui/error-codes/E0603.stderr15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/ui/error-codes/E0603.stderr b/src/test/ui/error-codes/E0603.stderr
new file mode 100644
index 000000000..ee902584f
--- /dev/null
+++ b/src/test/ui/error-codes/E0603.stderr
@@ -0,0 +1,15 @@
+error[E0603]: constant `PRIVATE` is private
+ --> $DIR/E0603.rs:6:17
+ |
+LL | SomeModule::PRIVATE;
+ | ^^^^^^^ private constant
+ |
+note: the constant `PRIVATE` is defined here
+ --> $DIR/E0603.rs:2:5
+ |
+LL | const PRIVATE: u32 = 0x_a_bad_1dea_u32;
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0603`.