mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
11 lines
275 B
Rust
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
|
|
}
|