rust/tests/ui/parser/issues/issue-19398.stderr

14 lines
319 B
Plaintext
Raw Normal View History

error: expected `{`, found keyword `unsafe`
--> $DIR/issue-19398.rs:2:19
2018-10-20 15:36:17 -05:00
|
LL | trait T {
| - while parsing this item list starting here
LL | extern "Rust" unsafe fn foo();
| ^^^^^^ expected `{`
LL |
LL | }
| - the item list ends here
2018-10-20 15:36:17 -05:00
error: aborting due to previous error