Skip to content

Commit b0a53b0

Browse files
authored
Update crates/bevy_render/macros/src/as_bind_group.rs
1 parent ec47860 commit b0a53b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_render/macros/src/as_bind_group.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,7 @@ fn get_storage_binding_attr(metas: Vec<NestedMeta>) -> Result<StorageAttrs> {
930930
_ => {
931931
return Err(Error::new_spanned(
932932
meta,
933-
"Not a valid attribute. Available attribute: `read_only`",
933+
"Not a valid attribute. Available attributes: `read_only`, `visibility`",
934934
));
935935
}
936936
}

0 commit comments

Comments
 (0)