Skip to content

Commit

Permalink
fixup!
Browse files Browse the repository at this point in the history
Co-authored-by: Teodor Tanasoaia <[email protected]>
  • Loading branch information
ErichDonGubler and teoxoy authored Nov 13, 2024
1 parent ee19757 commit d3f4cc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion naga/src/front/wgsl/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ impl<'a> Error<'a> {
.map(|span| (span, "".into()))
.collect(),
notes: vec![
"`@diagnostic(…)` attributes are only permitted on `fn`s and statements."
"`@diagnostic(…)` attributes are only permitted on `fn`s, some statements and switch/loop body."
.into(),
"These attributes are well-formed, you likely just need to move them.".into(),
],
Expand Down

0 comments on commit d3f4cc4

Please sign in to comment.