summaryrefslogtreecommitdiffstats
path: root/tests/ui/rustc-error.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/rustc-error.stderr')
-rw-r--r--tests/ui/rustc-error.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/rustc-error.stderr b/tests/ui/rustc-error.stderr
new file mode 100644
index 000000000..de27e9b8f
--- /dev/null
+++ b/tests/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
+