rust/tests/ui/dont-suggest-private-trait-method.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
439 B
Plaintext
Raw Normal View History

error[E0599]: no function or associated item named `new` found for struct `T` in the current scope
2018-12-07 12:15:36 -06:00
--> $DIR/dont-suggest-private-trait-method.rs:4:8
|
2018-02-22 18:42:32 -06:00
LL | struct T;
| -------- function or associated item `new` not found for this struct
...
2018-02-22 18:42:32 -06:00
LL | T::new();
2019-03-10 18:20:15 -05:00
| ^^^ function or associated item not found in `T`
error: aborting due to 1 previous error
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0599`.