summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0609-private-method.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/error-codes/E0609-private-method.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/error-codes/E0609-private-method.stderr b/tests/ui/error-codes/E0609-private-method.stderr
new file mode 100644
index 000000000..d2a11e906
--- /dev/null
+++ b/tests/ui/error-codes/E0609-private-method.stderr
@@ -0,0 +1,9 @@
+error[E0609]: no field `method` on type `Foo`
+ --> $DIR/E0609-private-method.rs:15:7
+ |
+LL | f.method;
+ | ^^^^^^ unknown field
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0609`.