MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / from

Method from

cranelift/codegen/src/verifier/mod.rs:130–137  ·  view source on GitHub ↗
(items: (L, C, M))

Source from the content-addressed store, hash-verified

128 M: Into<String>,
129{
130 fn from(items: (L, C, M)) -> Self {
131 let (location, context, message) = items;
132 Self {
133 location: location.into(),
134 context: Some(context.into()),
135 message: message.into(),
136 }
137 }
138}
139
140/// Convenience converter for making error-reporting less verbose.

Callers

nothing calls this directly

Calls 2

OkFunction · 0.85
is_emptyMethod · 0.45

Tested by

no test coverage detected