mirror of
https://github.com/rust-lang/rust.git
synced 2025-09-29 15:48:52 +00:00
13 lines
432 B
Plaintext
13 lines
432 B
Plaintext
error[E0046]: not all trait items implemented, missing: `trait_method`
|
|
--> $DIR/trait-impl-missing-method.rs:9:1
|
|
|
|
|
LL | fn trait_method(&self);
|
|
| ----------------------- `trait_method` from trait
|
|
...
|
|
LL | impl MyTrait for ImplType {}
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^ missing `trait_method` in implementation
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0046`.
|