2024-12-05 21:02:00 +00:00
|
|
|
mod parse_error;
|
2024-12-05 21:47:06 +00:00
|
|
|
use parse_error::Canonical; // ok, `parse_error.rs` had parse errors
|
2024-12-05 21:02:00 +00:00
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
|
let _ = "" + 1; //~ ERROR E0369
|
2024-12-05 21:19:08 +00:00
|
|
|
parse_error::Canonical.foo(); // ok, `parse_error.rs` had parse errors
|
2024-12-05 21:02:00 +00:00
|
|
|
}
|
2025-03-23 15:50:51 +03:00
|
|
|
|
|
|
|
|
//~? ERROR expected one of `+`, `,`, `::`, `=`, or `>`, found `From`
|