rust/tests/ui/parser/recover/recover-colon-instead-of-eq-in-local.rs
2024-03-06 21:59:03 +00:00

11 lines
275 B
Rust

#![allow(unused)]
fn test_122112() {
// Make sure we don't ICE if parsing in recovery fails
let _: std::env::temp_dir().join(&self, push: Box<usize>); //~ ERROR expected one of
}
fn main() {
let _: std::env::temp_dir().join("foo"); //~ ERROR expected one of
}