MCPcopy Create free account
hub / github.com/Rust-GPU/rust-gpu / message

Method message

crates/rustc_codegen_spirv/src/builder_spirv.rs:288–294  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

286
287impl LeafIllegalConst {
288 fn message(&self) -> &'static str {
289 match *self {
290 Self::CompositeContainsPtrTo => {
291 "constant arrays/structs cannot contain pointers to other constants"
292 }
293 }
294 }
295}
296
297#[derive(Copy, Clone, Debug)]

Callers 1

def_with_spanMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected