mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
22 lines
704 B
Plaintext
22 lines
704 B
Plaintext
error[E0046]: not all trait items implemented, missing: `foo`, `bar`, `test`, `baz`
|
|
--> $DIR/suggest-missing-item.rs:20:1
|
|
|
|
|
LL | async fn foo();
|
|
| --------------- `foo` from trait
|
|
...
|
|
LL | async fn bar() -> i32;
|
|
| ---------------------- `bar` from trait
|
|
LL |
|
|
LL | fn test(&self) -> impl Sized + '_;
|
|
| ---------------------------------- `test` from trait
|
|
...
|
|
LL | async fn baz(&self) -> &i32;
|
|
| ---------------------------- `baz` from trait
|
|
...
|
|
LL | impl Trait for S {}
|
|
| ^^^^^^^^^^^^^^^^ missing `foo`, `bar`, `test`, `baz` in implementation
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0046`.
|