Fix rust lints

ghstack-source-id: baf433a98a70d9105c8088d82e04a3d96783e9e6
Pull Request resolved: https://github.com/facebook/react/pull/30616
This commit is contained in:
Lauren Tan 2024-08-06 14:41:24 -04:00
parent eb52f3788f
commit ff0d2621f4
No known key found for this signature in database
GPG Key ID: D9B8BF35B75B9883
2 changed files with 2 additions and 0 deletions

View File

@ -151,6 +151,7 @@ impl MergedBlocks {
#[derive(Debug, Error)]
#[error("Expected predecessor {predecessor} to exist")]
#[allow(dead_code)]
pub struct ExpectedPredecessorToExist {
predecessor: BlockId,
}

View File

@ -159,6 +159,7 @@ impl<'m> std::fmt::Debug for ScopeView<'m> {
}
#[derive(Clone, Copy)]
#[allow(dead_code)]
pub struct LabelView<'m> {
#[allow(dead_code)]
pub(crate) manager: &'m ScopeManager,