mirror of
https://github.com/rust-lang/rust.git
synced 2026-03-27 17:38:56 +00:00
Add regression test
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user