fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
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`.