mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Fix Invalid Type Attribute Error Message
The message previously made reference to the now-removed `access` attribute.
This commit is contained in:
committed by
Dzmitry Malyshau
parent
4080bfe502
commit
300039e247
@@ -163,7 +163,7 @@ impl<'a> Error<'a> {
|
||||
ExpectedToken::PrimaryExpression => "expression".to_string(),
|
||||
ExpectedToken::AttributeSeparator => "attribute separator (',') or an end of the attribute list (']]')".to_string(),
|
||||
ExpectedToken::FieldName => "field name or a closing curly bracket to signify the end of the struct".to_string(),
|
||||
ExpectedToken::TypeAttribute => "type attribute ('access' or 'stride') or an end of the attribute list (']]')".to_string(),
|
||||
ExpectedToken::TypeAttribute => "type attribute ('stride') or an end of the attribute list (']]')".to_string(),
|
||||
ExpectedToken::Statement => "statement".to_string(),
|
||||
ExpectedToken::SwitchItem => "switch item ('case' or 'default') or a closing curly bracket to signify the end of the switch statement ('}')".to_string(),
|
||||
ExpectedToken::WorkgroupSizeSeparator => "workgroup size separator (',') or a closing parenthesis".to_string(),
|
||||
|
||||
Reference in New Issue
Block a user