summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/ex-E0611.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/error-codes/ex-E0611.stderr')
-rw-r--r--tests/ui/error-codes/ex-E0611.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/error-codes/ex-E0611.stderr b/tests/ui/error-codes/ex-E0611.stderr
new file mode 100644
index 000000000..1da7b33be
--- /dev/null
+++ b/tests/ui/error-codes/ex-E0611.stderr
@@ -0,0 +1,9 @@
+error[E0616]: field `0` of struct `Foo` is private
+ --> $DIR/ex-E0611.rs:11:6
+ |
+LL | y.0;
+ | ^ private field
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0616`.