mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-21 14:23:32 +00:00
diag(wgsl-in): fix plurality agreement for conflicting diagnostic rules
This commit is contained in:
parent
f6f0e5dbc2
commit
ffc2a1e9a0
@ -1050,7 +1050,7 @@ impl<'a> Error<'a> {
|
|||||||
notes: vec![
|
notes: vec![
|
||||||
concat!(
|
concat!(
|
||||||
"Multiple `diagnostic(…)` rules with the same rule name ",
|
"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(),
|
.into(),
|
||||||
"You should delete the rule you don't want.".into(),
|
"You should delete the rule you don't want.".into(),
|
||||||
|
Loading…
Reference in New Issue
Block a user