Skip to content

Commit b09ba45

Browse files
vmagrometa-codesync[bot]
authored andcommitted
[metalos/netos] clean rust-check
Summary: When making large refactors (like the following diff in this stack), `arc rust-check` is a super valuable tool. But the noisier existing code is, the less useful it is. I asked Devmate to clean it up and it actually worked pretty well. Test Plan: ``` ❯ arc rust-check fbcode//metalos/... fbcode//netos/... fbcode//edge_cloud/echos/... Buck UI: https://www.internalfb.com/buck2/3a186d72-051e-4299-a882-ac9845e80e6b Network: Up: 0B Down: 0B Loading targets. Remaining 0/1 30 targets declared Analyzing targets. Remaining 0/483 Executing actions. Remaining 0/1798 Command: bxl. Time elapsed: 2.9s BXL SUCCEEDED ``` Reviewed By: vjt Differential Revision: D85584087 fbshipit-source-id: 7df23970315d7c0f5cea15a90cad7c0a4ddbf434
1 parent 4bb839c commit b09ba45

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

antlir/bzl/shape2/templates/struct.rs.handlebars

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ where
8989
];
9090
let _ = p.read_struct_begin(|_| ())?;
9191
loop {
92+
#[allow(unused_variables)]
9293
let (_, fty, fid) = p.read_field_begin(|_| (), FIELDS)?;
9394
if fty == ::fbthrift::TType::Stop {
9495
break;

0 commit comments

Comments
 (0)