fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.1 KiB36 linesraw
1error[E0433]: failed to resolve: use of undeclared crate or module `fmt`
2  --> $DIR/issue-112590-suggest-import.rs:3:6
3   |
4LL | impl fmt::Debug for S {
5   |      ^^^ use of undeclared crate or module `fmt`
6   |
7help: consider importing this module
8   |
9LL + use std::fmt;
10   |
11
12error[E0433]: failed to resolve: use of undeclared crate or module `fmt`
13  --> $DIR/issue-112590-suggest-import.rs:4:28
14   |
15LL |     fn fmt(&self, _f: &mut fmt::Formatter<'_>) -> fmt::Result {
16   |                            ^^^ use of undeclared crate or module `fmt`
17   |
18help: consider importing this module
19   |
20LL + use std::fmt;
21   |
22
23error[E0433]: failed to resolve: use of undeclared crate or module `fmt`
24  --> $DIR/issue-112590-suggest-import.rs:4:51
25   |
26LL |     fn fmt(&self, _f: &mut fmt::Formatter<'_>) -> fmt::Result {
27   |                                                   ^^^ use of undeclared crate or module `fmt`
28   |
29help: consider importing this module
30   |
31LL + use std::fmt;
32   |
33
34error: aborting due to 3 previous errors
35
36For more information about this error, try `rustc --explain E0433`.