rust/tests/ui/suggestions/issue-112590-suggest-import.rs
2023-07-02 15:35:18 +08:00

11 lines
357 B
Rust

pub struct S;
impl fmt::Debug for S { //~ ERROR failed to resolve: use of undeclared crate or module `fmt`
fn fmt(&self, _f: &mut fmt::Formatter<'_>) -> fmt::Result { //~ ERROR failed to resolve: use of undeclared crate or module `fmt`
//~^ ERROR failed to resolve: use of undeclared crate or module `fmt`
Ok(())
}
}
fn main() { }