mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-17 06:26:55 +00:00
Add regression test
This commit is contained in:
parent
fa3e3cb6ea
commit
90f7997771
3
tests/ui/issue-3145.rs
Normal file
3
tests/ui/issue-3145.rs
Normal file
@ -0,0 +1,3 @@
|
||||
fn main() {
|
||||
println!("{}" a); //~ERROR expected token: `,`
|
||||
}
|
8
tests/ui/issue-3145.stderr
Normal file
8
tests/ui/issue-3145.stderr
Normal file
@ -0,0 +1,8 @@
|
||||
error: expected token: `,`
|
||||
--> $DIR/issue-3145.rs:2:19
|
||||
|
|
||||
2 | println!("{}" a); //~ERROR expected token: `,`
|
||||
| ^
|
||||
|
||||
error: aborting due to previous error
|
||||
|
Loading…
Reference in New Issue
Block a user