summaryrefslogtreecommitdiffstats
path: root/tests/ui/annotate-snippet/multiple-files.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/annotate-snippet/multiple-files.rs')
-rw-r--r--tests/ui/annotate-snippet/multiple-files.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/annotate-snippet/multiple-files.rs b/tests/ui/annotate-snippet/multiple-files.rs
new file mode 100644
index 000000000..981cdbb10
--- /dev/null
+++ b/tests/ui/annotate-snippet/multiple-files.rs
@@ -0,0 +1,8 @@
+// aux-build:other_file.rs
+// compile-flags: --error-format human-annotate-rs -Z unstable-options
+
+extern crate other_file;
+
+fn main() {
+ other_file::WithPrivateMethod.private_method();
+}