mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 18:57:19 +00:00
10 lines
282 B
Rust
10 lines
282 B
Rust
mod parse_error;
|
|
use parse_error::Canonical; // ok, `parse_error.rs` had parse errors
|
|
|
|
fn main() {
|
|
let _ = "" + 1; //~ ERROR E0369
|
|
parse_error::Canonical.foo(); // ok, `parse_error.rs` had parse errors
|
|
}
|
|
|
|
//~? ERROR expected one of `+`, `,`, `::`, `=`, or `>`, found `From`
|