]> git.lizzy.rs Git - rust.git/blob - src/test/ui/dont-suggest-private-trait-method.stderr
81ecc546a6dee275a7f2b128d77b47777cd89fe8
[rust.git] / src / test / ui / dont-suggest-private-trait-method.stderr
1 error[E0599]: no function or associated item named `new` found for type `T` in the current scope
2   --> $DIR/dont-suggest-private-trait-method.rs:14:5
3    |
4 LL | struct T;
5    | --------- function or associated item `new` not found for this
6 ...
7 LL |     T::new();
8    |     ^^^^^^ function or associated item not found in `T`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0599`.