2023-06-20 20:57:26 -05:00
|
|
|
error[E0046]: not all trait items implemented, missing: `foo`, `bar`, `test`, `baz`
|
2023-09-13 11:04:42 -05:00
|
|
|
--> $DIR/suggest-missing-item.rs:19:1
|
2023-06-13 15:41:15 -05:00
|
|
|
|
|
|
|
|
LL | async fn foo();
|
|
|
|
| --------------- `foo` from trait
|
2023-09-26 15:20:25 -05:00
|
|
|
...
|
2023-06-13 15:41:15 -05:00
|
|
|
LL | async fn bar() -> i32;
|
|
|
|
| ---------------------- `bar` from trait
|
|
|
|
LL |
|
|
|
|
LL | fn test(&self) -> impl Sized + '_;
|
|
|
|
| ---------------------------------- `test` from trait
|
2023-09-26 15:20:25 -05:00
|
|
|
...
|
2023-06-20 20:57:26 -05:00
|
|
|
LL | async fn baz(&self) -> &i32;
|
|
|
|
| ---------------------------- `baz` from trait
|
2023-06-13 15:41:15 -05:00
|
|
|
...
|
|
|
|
LL | impl Trait for S {}
|
2023-06-20 20:57:26 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^ missing `foo`, `bar`, `test`, `baz` in implementation
|
2023-06-13 15:41:15 -05:00
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2023-06-13 15:41:15 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0046`.
|