Skip to content

Commit

Permalink
dead-code-annotations
Browse files Browse the repository at this point in the history
Summary:
attach dead-code annotations where necessary

--
meta:
dead-code annotations highlighted by 1.78.0

Reviewed By: macisamuele

Differential Revision: D57216753

fbshipit-source-id: 5d3b547e059e9480377dad2a0ede8354d614fdd8
  • Loading branch information
Shayne Fletcher authored and facebook-github-bot committed May 10, 2024
1 parent ca2b861 commit f10ecc7
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -27,6 +27,7 @@ pub struct CatchMetadata {
pub to_location: Location,
}

#[allow(dead_code)]
pub trait CatchableField {
fn directives(&self) -> &Vec<Directive>;
fn name_with_location(&self, schema: &SDLSchema) -> WithLocation<StringKey>;
Expand Down

0 comments on commit f10ecc7

Please sign in to comment.