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