Struct rustc_errors::registry::Registry [−][src]
pub struct Registry { /* fields omitted */ }
Methods
impl Registry
[src]
impl Registry
pub fn new(descriptions: &[(&'static str, &'static str)]) -> Registry
[src]
pub fn new(descriptions: &[(&'static str, &'static str)]) -> Registry
pub fn find_description(&self, code: &str) -> Option<&'static str>
[src]
pub fn find_description(&self, code: &str) -> Option<&'static str>