2023-06-22 11:19:05 +08:00
|
|
|
pub struct S;
|
|
|
|
|
|
2024-11-18 03:42:16 +00:00
|
|
|
impl fmt::Debug for S { //~ ERROR failed to resolve: use of unresolved module or unlinked crate `fmt`
|
|
|
|
|
fn fmt(&self, _f: &mut fmt::Formatter<'_>) -> fmt::Result { //~ ERROR failed to resolve: use of unresolved module or unlinked crate `fmt`
|
|
|
|
|
//~^ ERROR failed to resolve: use of unresolved module or unlinked crate `fmt`
|
2023-06-22 11:19:05 +08:00
|
|
|
Ok(())
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
fn main() { }
|