|
1935 | 1935 | }, |
1936 | 1936 | Error::DirectiveNotYetImplemented { kind, span } => ParseError { |
1937 | 1937 | message: <span class="macro">format!</span>( |
1938 | | - <span class="string">"`{}` is not yet implemented"</span>, |
| 1938 | + <span class="string">"the `{}` directive is not yet implemented"</span>, |
1939 | 1939 | DirectiveKind::Unimplemented(kind).to_ident() |
1940 | 1940 | ), |
1941 | 1941 | labels: <span class="macro">vec!</span>[( |
|
1965 | 1965 | }, |
1966 | 1966 | Error::EnableExtensionNotYetImplemented { kind, span } => ParseError { |
1967 | 1967 | message: <span class="macro">format!</span>( |
1968 | | - <span class="string">"the `{}` extension is not yet supported"</span>, |
| 1968 | + <span class="string">"the `{}` enable-extension is not yet supported"</span>, |
1969 | 1969 | EnableExtension::Unimplemented(kind).to_ident() |
1970 | 1970 | ), |
1971 | 1971 | labels: <span class="macro">vec!</span>[( |
1972 | 1972 | span, |
1973 | 1973 | <span class="macro">concat!</span>( |
1974 | | - <span class="string">"this extension specifies standard functionality "</span>, |
| 1974 | + <span class="string">"this enable-extension specifies standard functionality "</span>, |
1975 | 1975 | <span class="string">"which is not yet implemented in Naga" |
1976 | 1976 | </span>) |
1977 | 1977 | .into(), |
|
1986 | 1986 | )], |
1987 | 1987 | }, |
1988 | 1988 | Error::EnableExtensionNotEnabled { kind, span } => ParseError { |
1989 | | - message: <span class="macro">format!</span>(<span class="string">"`{}` enable extension is not enabled"</span>, kind.to_ident()), |
| 1989 | + message: <span class="macro">format!</span>(<span class="string">"`{}` enable-extension is not enabled"</span>, kind.to_ident()), |
1990 | 1990 | labels: <span class="macro">vec!</span>[( |
1991 | 1991 | span, |
1992 | 1992 | <span class="macro">format!</span>( |
1993 | 1993 | <span class="macro">concat!</span>( |
1994 | | - <span class="string">"the `{}` enable extension is needed for this functionality, "</span>, |
| 1994 | + <span class="string">"the `{}` enable-extension is needed for this functionality, "</span>, |
1995 | 1995 | <span class="string">"but it is not currently enabled" |
1996 | 1996 | </span>), |
1997 | 1997 | kind.to_ident() |
|
2001 | 2001 | notes: <span class="kw">if let </span>EnableExtension::Unimplemented(kind) = kind { |
2002 | 2002 | <span class="macro">vec!</span>[<span class="macro">format!</span>( |
2003 | 2003 | <span class="macro">concat!</span>( |
2004 | | - <span class="string">"This extension is not yet implemented. "</span>, |
| 2004 | + <span class="string">"This enable-extension is not yet implemented. "</span>, |
2005 | 2005 | <span class="string">"Let Naga maintainers know that you ran into this at "</span>, |
2006 | 2006 | <span class="string">"<https://github.com/gfx-rs/wgpu/issues/{}>, "</span>, |
2007 | 2007 | <span class="string">"so they can prioritize it!" |
|
0 commit comments