about summary refs log tree commit diff
path: root/tests/ui/traits/error-reporting/apit-with-bad-path.stderr
blob: 19bd5e78b47fa34d4d627b3ebcb93f9706807942 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0412]: cannot find type `Path` in this scope
  --> $DIR/apit-with-bad-path.rs:3:29
   |
LL | fn foo(filename: impl AsRef<Path>) {
   |                             ^^^^ not found in this scope
   |
help: consider importing this struct
   |
LL + use std::path::Path;
   |

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0412`.