Skip to content

Commit 3572442

Browse files
committed
warnings: suppress dead code warnings
These aren't used now, but if they are, they should be easily accessible.
1 parent 3a16f38 commit 3572442

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

graphql-introspection-query/src/introspection_response.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ pub struct FullType {
141141
#[serde(rename_all = "camelCase")]
142142
pub struct FullTypeFieldsArgs {
143143
#[serde(flatten)]
144+
#[allow(dead_code)]
144145
input_value: InputValue,
145146
}
146147

@@ -242,6 +243,7 @@ pub struct SchemaTypes {
242243
#[serde(rename_all = "camelCase")]
243244
pub struct SchemaDirectivesArgs {
244245
#[serde(flatten)]
246+
#[allow(dead_code)]
245247
input_value: InputValue,
246248
}
247249

@@ -261,6 +263,7 @@ pub struct Schema {
261263
pub mutation_type: Option<SchemaMutationType>,
262264
pub subscription_type: Option<SchemaSubscriptionType>,
263265
pub types: Option<Vec<Option<SchemaTypes>>>,
266+
#[allow(dead_code)]
264267
directives: Option<Vec<Option<SchemaDirectives>>>,
265268
}
266269

0 commit comments

Comments
 (0)