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

Method err

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

Source from the content-addressed store, hash-verified

79 }
80
81 pub fn err(&self, msg: &str) {
82 if let Some(current_span) = self.current_span {
83 self.tcx.sess.span_err(current_span, msg);
84 } else {
85 self.tcx.sess.err(msg);
86 }
87 }
88
89 pub fn fatal(&self, msg: &str) -> ! {
90 if let Some(current_span) = self.current_span {

Callers 15

linkFunction · 0.80
link_rlibFunction · 0.80
add_upstream_rust_cratesFunction · 0.80
trans_intrinsic_typeFunction · 0.80
const_int_valueFunction · 0.80
linkFunction · 0.80
visitFunction · 0.80
check_fragment_instsFunction · 0.80
visitFunction · 0.80
newMethod · 0.80
declare_fn_extMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected