We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
DirectiveNotYetImplemented
1 parent fc0a488 commit 77a757bCopy full SHA for 77a757b
naga/src/front/wgsl/error.rs
@@ -916,7 +916,7 @@ impl<'a> Error<'a> {
916
},
917
Error::DirectiveNotYetImplemented { kind, span } => ParseError {
918
message: format!(
919
- "`{}` is not yet implemented",
+ "the `{}` directive is not yet implemented",
920
DirectiveKind::Unimplemented(kind).to_ident()
921
),
922
labels: vec![(
naga/src/front/wgsl/parse/directive.rs
@@ -81,7 +81,7 @@ mod test {
81
UnimplementedDirectiveKind::Diagnostic => {
82
shader = "diagnostic(off,derivative_uniformity);";
83
expected_msg = "\
84
-error: `diagnostic` is not yet implemented
+error: the `diagnostic` directive is not yet implemented
85
┌─ wgsl:1:1
86
│
87
1 │ diagnostic(off,derivative_uniformity);
0 commit comments