summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-19398.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/issues/issue-19398.stderr')
-rw-r--r--tests/ui/parser/issues/issue-19398.stderr13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ui/parser/issues/issue-19398.stderr b/tests/ui/parser/issues/issue-19398.stderr
new file mode 100644
index 000000000..1da00960a
--- /dev/null
+++ b/tests/ui/parser/issues/issue-19398.stderr
@@ -0,0 +1,13 @@
+error: expected `{`, found keyword `unsafe`
+ --> $DIR/issue-19398.rs:2:19
+ |
+LL | trait T {
+ | - while parsing this item list starting here
+LL | extern "Rust" unsafe fn foo();
+ | ^^^^^^ expected `{`
+LL |
+LL | }
+ | - the item list ends here
+
+error: aborting due to previous error
+