]> git.lizzy.rs Git - rust.git/blob - src/test/ui/dont-suggest-private-trait-method.stderr
Merge commit 'cd4810de42c57b64b74dae09c530a4c3a41f87b9' into libgccjit-codegen
[rust.git] / src / test / ui / dont-suggest-private-trait-method.stderr
1 error[E0599]: no function or associated item named `new` found for struct `T` in the current scope
2   --> $DIR/dont-suggest-private-trait-method.rs:4:8
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`.