rust/tests/ui/suggestions/path-by-value.rs

7 lines
71 B
Rust

use std::path::Path;
fn f(p: Path) { }
//~^ ERROR E0277
fn main() {}