summaryrefslogtreecommitdiffstats
path: root/src/test/ui/rustc-error.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/rustc-error.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/rustc-error.stderr b/src/test/ui/rustc-error.stderr
new file mode 100644
index 000000000..de27e9b8f
--- /dev/null
+++ b/src/test/ui/rustc-error.stderr
@@ -0,0 +1,8 @@
+error: fatal error triggered by #[rustc_error]
+ --> $DIR/rustc-error.rs:4:1
+ |
+LL | fn main() {
+ | ^^^^^^^^^
+
+error: aborting due to previous error
+