-
Notifications
You must be signed in to change notification settings - Fork 247
Closed
Labels
a: rust-langIssues specific to rust-lang/rust.Issues specific to rust-lang/rust.t: enhancementA new feature or improvement to an existing one.A new feature or improvement to an existing one.
Description
Currently you cannot have a static slice literal in your code such as &[]
or &[1,2 3, 4]
.
Error
--> /Users/cargo/git/checkouts/rspirv-50a5048e4e24b3a2/7111e6c/spirv/autogen_spirv.rs:2887:48
|
2887 | GroupOperation::ClusteredReduce => &[Capability::GroupNonUniformClustered],
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: from: *{Function} [u32; 1]
= note: to: *{Function} [u32]
Metadata
Metadata
Assignees
Labels
a: rust-langIssues specific to rust-lang/rust.Issues specific to rust-lang/rust.t: enhancementA new feature or improvement to an existing one.A new feature or improvement to an existing one.