MCPcopy Create free account
hub / github.com/anelson/tracers / error_as_syn_error

Method error_as_syn_error

tracers-codegen/src/error.rs:280–283  ·  view source on GitHub ↗

Given a `failure` `Error` type, tests to see if it wraps a real `syn::Error`, and if it doesn't, creates a `syn::Error` with the same message

(e: Error)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected