]> git.lizzy.rs Git - rust.git/blob - src/test/ui/dont-suggest-private-trait-method.rs
Merge commit '3a31c6d8272c14388a34622193baf553636fe470' into sync_cg_clif-2021-07-07
[rust.git] / src / test / ui / dont-suggest-private-trait-method.rs
1 struct T;
2
3 fn main() {
4     T::new();
5     //~^ ERROR no function or associated item named `new` found
6 }