]>
Commit | Line | Data |
---|---|---|
74b04a01 XL |
1 | error[E0425]: cannot find value `a` in this scope |
2 | --> $DIR/typo-suggestion-named-underscore.rs:4:5 | |
3 | | | |
4 | LL | a // Shouldn't suggest underscore | |
5 | | ^ not found in this scope | |
6 | ||
7 | error[E0405]: cannot find trait `A` in this scope | |
8 | --> $DIR/typo-suggestion-named-underscore.rs:13:11 | |
9 | | | |
10 | LL | fn foo<T: A>(x: T) {} // Shouldn't suggest underscore | |
11 | | ^ not found in this scope | |
12 | ||
13 | error: aborting due to 2 previous errors | |
14 | ||
15 | Some errors have detailed explanations: E0405, E0425. | |
16 | For more information about an error, try `rustc --explain E0405`. |