mirror of
https://github.com/allankoechke/rust.git
synced 2026-11-30 11:05:36 +00:00
10 lines
296 B
Rust
10 lines
296 B
Rust
//! Regression test for <https://github.com/rust-lang/rust/issues/33525>.
|
|
//! Test rustc emits right error count.
|
|
//! (this used to return `aborting due to 2 previous errors`)
|
|
|
|
fn main() {
|
|
a; //~ ERROR cannot find value `a`
|
|
"".lorem; //~ ERROR no field
|
|
"".ipsum; //~ ERROR no field
|
|
}
|