Lines Matching refs:path
49 use std::path::Path;
73 repo::for_each_rust_file(|path| {
74 let content = fs::read_to_string(path).unwrap();
78 let edition = repo::edition(path).parse().unwrap();
80 let (l_passed, l_failed) = test_expressions(path, edition, exprs);
83 path.display(),
90 errorf!("\nFAIL {} - syn failed to parse: {}\n", path.display(), msg);
114 fn test_expressions(path: &Path, edition: Edition, exprs: Vec<syn::Expr>) -> (usize, usize) {
127 path.display(),
140 path.display(),
151 path.display(),
163 path.display(),
172 path.display(),
252 path,
257 vis.visit_path(path);
535 fn fold_path(&mut self, path: Path) -> Path {
536 // Skip traversing into const generic path arguments
537 path