rust/tests/ui/parser/recover/recover-colon-instead-of-eq...

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
}