From ffc2a1e9a0ada1b77f8163a23ed87f5d90bb72f1 Mon Sep 17 00:00:00 2001 From: Erich Gubler Date: Fri, 8 Nov 2024 12:09:08 -0500 Subject: [PATCH] diag(wgsl-in): fix plurality agreement for conflicting diagnostic rules --- naga/src/front/wgsl/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/naga/src/front/wgsl/error.rs b/naga/src/front/wgsl/error.rs index e9f7e2861..94570bcee 100644 --- a/naga/src/front/wgsl/error.rs +++ b/naga/src/front/wgsl/error.rs @@ -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(),