Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
10
tests/ui/parser/issues/issue-87197-missing-semicolon.fixed
Normal file
10
tests/ui/parser/issues/issue-87197-missing-semicolon.fixed
Normal file
|
@ -0,0 +1,10 @@
|
|||
// run-rustfix
|
||||
// Parser should know when a semicolon is missing.
|
||||
// https://github.com/rust-lang/rust/issues/87197
|
||||
|
||||
fn main() {
|
||||
let x = 100; //~ ERROR: expected `;`
|
||||
println!("{}", x); //~ ERROR: expected `;`
|
||||
let y = 200; //~ ERROR: expected `;`
|
||||
println!("{}", y);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue