diff options
Diffstat (limited to 'tests/ui/parser/issues/issue-46186.rs')
-rw-r--r-- | tests/ui/parser/issues/issue-46186.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/parser/issues/issue-46186.rs b/tests/ui/parser/issues/issue-46186.rs new file mode 100644 index 000000000..84cad38c5 --- /dev/null +++ b/tests/ui/parser/issues/issue-46186.rs @@ -0,0 +1,8 @@ +// run-rustfix + +pub struct Struct { + pub a: usize, +}; +//~^ ERROR expected item, found `;` + +fn main() {} |