summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/path-by-value.rs
blob: c875ca674aeb09e1ea0c4ae94c5bf0a410701be6 (plain)
1
2
3
4
5
6
use std::path::Path;

fn f(p: Path) { }
//~^ ERROR E0277

fn main() {}