mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-21 22:33:49 +00:00
diag(naga): add def. article and noun qual. to DirectiveNotYetImplemented
This commit is contained in:
parent
fc0a488246
commit
77a757ba9e
@ -916,7 +916,7 @@ impl<'a> Error<'a> {
|
||||
},
|
||||
Error::DirectiveNotYetImplemented { kind, span } => ParseError {
|
||||
message: format!(
|
||||
"`{}` is not yet implemented",
|
||||
"the `{}` directive is not yet implemented",
|
||||
DirectiveKind::Unimplemented(kind).to_ident()
|
||||
),
|
||||
labels: vec![(
|
||||
|
@ -81,7 +81,7 @@ mod test {
|
||||
UnimplementedDirectiveKind::Diagnostic => {
|
||||
shader = "diagnostic(off,derivative_uniformity);";
|
||||
expected_msg = "\
|
||||
error: `diagnostic` is not yet implemented
|
||||
error: the `diagnostic` directive is not yet implemented
|
||||
┌─ wgsl:1:1
|
||||
│
|
||||
1 │ diagnostic(off,derivative_uniformity);
|
||||
|
Loading…
Reference in New Issue
Block a user