rust/tests/ui/issues/issue-55587.rs

6 lines
106 B
Rust

use std::path::Path;
fn main() {
let Path::new(); //~ ERROR expected tuple struct or tuple variant
}