about summary refs log tree commit diff
path: root/tests/ui/suggestions/issue-112590-suggest-import.rs
blob: a7868b719190f3305842b70ba7776922c8fdd5d3 (plain)
1
2
3
4
5
6
7
8
9
10
pub struct S;

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`
        Ok(())
    }
}

fn main() { }