about summary refs log tree commit diff
path: root/tests/ui/annotate-snippet/multiple-files.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/annotate-snippet/multiple-files.stderr')
-rw-r--r--tests/ui/annotate-snippet/multiple-files.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/annotate-snippet/multiple-files.stderr b/tests/ui/annotate-snippet/multiple-files.stderr
new file mode 100644
index 00000000000..4236ec811d0
--- /dev/null
+++ b/tests/ui/annotate-snippet/multiple-files.stderr
@@ -0,0 +1,11 @@
+error[E0624]: method `private_method` is private
+  --> $DIR/multiple-files.rs:7:35
+   |
+LL |     other_file::WithPrivateMethod.private_method();
+   |                                   ^^^^^^^^^^^^^^ private method
+   |
+  ::: $DIR/auxiliary/other_file.rs:5:5
+   |
+LL |     fn private_method(&self) {}
+   |     ^^^^^^^^^^^^^^^^^^^^^^^^ private method defined here
+   |