Skip to content

Commit 0507b4d

Browse files
committed
Fix expectation
1 parent 6503c6f commit 0507b4d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

naga/src/back/mod.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,11 @@ pub type NeedBakeExpressions = crate::FastHashSet<crate::Handle<crate::Expressio
4747
/// [`Expression`]: crate::Expression
4848
/// [`Handle`]: crate::Handle
4949
#[cfg_attr(
50-
not(wgsl_out),
51-
expect(dead_code, reason = "unused in other features at this time")
50+
not(any(hlsl_out, msl_out, spv_out, glsl_out)),
51+
expect(
52+
dead_code,
53+
reason = "only used with any of the aforementioned configurations"
54+
)
5255
)]
5356
struct Baked(crate::Handle<crate::Expression>);
5457

0 commit comments

Comments
 (0)