diff --git a/compiler/crates/relay-lsp/src/docblock_resolution_info.rs b/compiler/crates/relay-lsp/src/docblock_resolution_info.rs index 13c2bc87a7502..cbd25000e209a 100644 --- a/compiler/crates/relay-lsp/src/docblock_resolution_info.rs +++ b/compiler/crates/relay-lsp/src/docblock_resolution_info.rs @@ -14,6 +14,7 @@ use relay_docblock::On; use relay_docblock::ResolverFieldDocblockIr; use relay_docblock::ResolverTypeDocblockIr; +#[allow(dead_code)] pub enum DocblockResolutionInfo { Type(StringKey), RootFragment(FragmentDefinitionName), diff --git a/compiler/crates/relay-transforms/src/catch_directive/catchable_field.rs b/compiler/crates/relay-transforms/src/catch_directive/catchable_field.rs index 04441c705b4de..dc6ca36f42e5f 100644 --- a/compiler/crates/relay-transforms/src/catch_directive/catchable_field.rs +++ b/compiler/crates/relay-transforms/src/catch_directive/catchable_field.rs @@ -20,6 +20,7 @@ use super::CATCH_DIRECTIVE_NAME; use super::TO_ARGUMENT; use crate::CatchTo; +#[allow(dead_code)] #[derive(Clone, Copy)] pub struct CatchMetadata { pub to: CatchTo,