]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/issue-102946.stderr
Rollup merge of #106692 - eggyal:mv-binary_heap.rs-binary_heap/mod.rs, r=Mark-Simulacrum
[rust.git] / tests / ui / resolve / issue-102946.stderr
1 error[E0405]: cannot find trait `Error` in this scope
2   --> $DIR/issue-102946.rs:1:6
3    |
4 LL | impl Error for str::Utf8Error {
5    |      ^^^^^ not found in this scope
6    |
7 help: consider importing this trait
8    |
9 LL | use std::error::Error;
10    |
11
12 error[E0223]: ambiguous associated type
13   --> $DIR/issue-102946.rs:1:16
14    |
15 LL | impl Error for str::Utf8Error {
16    |                ^^^^^^^^^^^^^^
17    |
18 help: you are looking for the module in `std`, not the primitive type
19    |
20 LL | impl Error for std::str::Utf8Error {
21    |                +++++
22
23 error: aborting due to 2 previous errors
24
25 Some errors have detailed explanations: E0223, E0405.
26 For more information about an error, try `rustc --explain E0223`.