summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/issue-112590-suggest-import.stderr
blob: aeac18c16f047f10e14e19cbd7b5f344d06cbe7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
error[E0433]: failed to resolve: use of undeclared crate or module `fmt`
  --> $DIR/issue-112590-suggest-import.rs:3:6
   |
LL | impl fmt::Debug for S {
   |      ^^^ use of undeclared crate or module `fmt`
   |
help: consider importing this module
   |
LL + use std::fmt;
   |

error[E0433]: failed to resolve: use of undeclared crate or module `fmt`
  --> $DIR/issue-112590-suggest-import.rs:4:28
   |
LL |     fn fmt(&self, _f: &mut fmt::Formatter<'_>) -> fmt::Result {
   |                            ^^^ use of undeclared crate or module `fmt`
   |
help: consider importing this module
   |
LL + use std::fmt;
   |

error[E0433]: failed to resolve: use of undeclared crate or module `fmt`
  --> $DIR/issue-112590-suggest-import.rs:4:51
   |
LL |     fn fmt(&self, _f: &mut fmt::Formatter<'_>) -> fmt::Result {
   |                                                   ^^^ use of undeclared crate or module `fmt`
   |
help: consider importing this module
   |
LL + use std::fmt;
   |

error: aborting due to 3 previous errors

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