Skip to content

Commit 9aaac34

Browse files
authored
[workerd-cxx] fix dead code warning (#27)
1 parent dc79287 commit 9aaac34

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

syntax/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ pub(crate) struct Array {
322322

323323
pub(crate) struct Future {
324324
pub output: Type,
325+
#[allow(dead_code)] // only used by cxxbridge-macro, not cxx-build
325326
pub throws_tokens: Option<(kw::Result, Token![<], Token![>])>,
326327
}
327328

0 commit comments

Comments
 (0)