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

Function parsing_error

crates/spirv-std/macros/src/lib.rs:424–426  ·  view source on GitHub ↗
(message: &str, span: proc_macro2::Span)

Source from the content-addressed store, hash-verified

422}
423
424fn parsing_error(message: &str, span: proc_macro2::Span) -> TokenStream {
425 syn::Error::new(span, message).to_compile_error().into()
426}
427
428enum FormatType {
429 Scalar {

Callers 1

debug_printf_innerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected