mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
11 lines
357 B
Rust
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() { }
|