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