summaryrefslogtreecommitdiffstats
path: root/src/test/ui/dont-suggest-private-trait-method.rs
blob: 6e2b1abd1370f462735dc29e3250614323874323 (plain)
1
2
3
4
5
6
struct T;

fn main() {
    T::new();
    //~^ ERROR no function or associated item named `new` found
}