about summary refs log tree commit diff
path: root/tests/ui/traits/error-reporting/where-clause-with-bad-path.stderr
blob: 1137178f6114bff36aef0efcc0ea61aeb9fb35b4 (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/where-clause-with-bad-path.rs:3:17
   |
LL | fn foo<T: AsRef<Path>>(filename: T) {
   |                 ^^^^ 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`.