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

Class InvalidSrcLoc

crates/rustc_codegen_spirv/src/custom_decorations.rs:161–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159 fn decode(s: &'a str) -> Self {
160 #[derive(Copy, Clone, Debug)]
161 struct InvalidSrcLoc<'a>(&'a str);
162 let err = InvalidSrcLoc(s);
163
164 let (s, col_end) = s.rsplit_once(':').ok_or(err).unwrap();

Callers 1

decodeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected