Struct rustc_ap_rustc_errors::registry::Registry  [−][src]
pub struct Registry { /* fields omitted */ }Implementations
pub fn try_find_description(
    &self, 
    code: &str
) -> Result<Option<&'static str>, InvalidErrorCode>[src]
pub fn try_find_description(
    &self, 
    code: &str
) -> Result<Option<&'static str>, InvalidErrorCode>[src]Returns InvalidErrorCode if the code requested does not exist in the
registry. Otherwise, returns an Option where None means the error
code is valid but has no extended information.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Registryimpl UnwindSafe for RegistryBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V