2022-01-26 12:58:53 -06:00
|
|
|
error: GraphQL interface trait method can't have default implementation
|
2022-04-01 13:10:45 -05:00
|
|
|
--> fail/interface/trait/method_default_impl.rs:5:26
|
2022-01-26 12:58:53 -06:00
|
|
|
|
|
|
|
|
5 | fn id(&self) -> &str {
|
|
|
|
| __________________________^
|
|
|
|
6 | | "default"
|
|
|
|
7 | | }
|
|
|
|
| |_____^
|
|
|
|
|
|
2022-06-28 10:32:08 -05:00
|
|
|
= note: https://spec.graphql.org/October2021#sec-Interfaces
|