summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/issue-112590-suggest-import.rs
blob: 0938814c559853a48fae627f5b08f55785e9ed26 (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 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() { }