]> git.lizzy.rs Git - rust.git/blobdiff - src/test/parse-fail/issue-46186.rs
Added ;
[rust.git] / src / test / parse-fail / issue-46186.rs
index 3f3dceeec5e9c374297d8fdecece2e71f9c3888a..49ecc7688649932ae46bc60c3effba0fc208d438 100644 (file)
@@ -12,7 +12,7 @@
 
 struct Struct {
     a: usize,
-} //~ ERROR expected item, found ';'
+}; //~ ERROR expected item, found ';'
 //~| NOTE consider removing the semicolon
 
 fn main() {}