35 lines
931 B
Text
35 lines
931 B
Text
warning: field is never read: `enum_path`
|
|
--> $DIR/mod.rs:282:5
|
|
|
|
|
282 | pub enum_path: Option<TokenStream>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `#[warn(dead_code)]` on by default
|
|
|
|
warning: field is never read: `span`
|
|
--> $DIR/mod.rs:296:5
|
|
|
|
|
296 | pub span: Span,
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: 2 warnings emitted
|
|
|
|
error: GraphQL interface must have at least one field
|
|
--> $DIR/no_fields.rs:13:1
|
|
|
|
|
13 | trait Character {}
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: https://spec.graphql.org/June2018/#sec-Interfaces
|
|
|
|
error[E0412]: cannot find type `CharacterValue` in this scope
|
|
--> $DIR/no_fields.rs:4:18
|
|
|
|
|
4 | #[graphql(impl = CharacterValue)]
|
|
| ^^^^^^^^^^^^^^ not found in this scope
|
|
|
|
error[E0405]: cannot find trait `Character` in this scope
|
|
--> $DIR/no_fields.rs:10:6
|
|
|
|
|
10 | impl Character for ObjA {}
|
|
| ^^^^^^^^^ not found in this scope
|