diag(wgsl-in): fix plurality agreement for conflicting diagnostic rules

This commit is contained in:
Erich Gubler 2024-11-08 12:09:08 -05:00
parent f6f0e5dbc2
commit ffc2a1e9a0

View File

@ -1050,7 +1050,7 @@ impl<'a> Error<'a> {
notes: vec![
concat!(
"Multiple `diagnostic(…)` rules with the same rule name ",
"conflict unless it is a directive and the severity is the same.",
"conflict unless they are directives and the severity is the same.",
)
.into(),
"You should delete the rule you don't want.".into(),