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

Method fatal

crates/rustc_codegen_spirv/src/builder/mod.rs:89–95  ·  view source on GitHub ↗
(&self, msg: &str)

Source from the content-addressed store, hash-verified

87 }
88
89 pub fn fatal(&self, msg: &str) -> ! {
90 if let Some(current_span) = self.current_span {
91 self.tcx.sess.span_fatal(current_span, msg)
92 } else {
93 self.tcx.sess.fatal(msg)
94 }
95 }
96
97 pub fn span(&self) -> Span {
98 self.current_span.unwrap_or(DUMMY_SP)

Callers 15

dig_scalar_pointeeFunction · 0.80
trans_structFunction · 0.80
def_with_idMethod · 0.80
from_sessionMethod · 0.80
type_kindMethod · 0.80
element_typeMethod · 0.80
vector_lengthMethod · 0.80
float_widthMethod · 0.80
int_widthMethod · 0.80
constant_intMethod · 0.80
constant_floatMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected