Enum rustc::session::DiagnosticMessageId
[−]
[src]
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Diagnostic message ID—used by Session.one_time_diagnostics to avoid
emitting the same message more than once
Variants
ErrorId(u16)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
LintId(LintId)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
StabilityId(u32)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Trait Implementations
impl Clone for DiagnosticMessageId[src]
impl Clone for DiagnosticMessageIdfn clone(&self) -> DiagnosticMessageId[src]
fn clone(&self) -> DiagnosticMessageIdReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Copy for DiagnosticMessageId[src]
impl Copy for DiagnosticMessageIdimpl Debug for DiagnosticMessageId[src]
impl Debug for DiagnosticMessageIdfn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
fn fmt(&self, __arg_0: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for DiagnosticMessageId[src]
impl PartialEq for DiagnosticMessageIdfn eq(&self, __arg_0: &DiagnosticMessageId) -> bool[src]
fn eq(&self, __arg_0: &DiagnosticMessageId) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &DiagnosticMessageId) -> bool[src]
fn ne(&self, __arg_0: &DiagnosticMessageId) -> boolThis method tests for !=.
impl Eq for DiagnosticMessageId[src]
impl Eq for DiagnosticMessageIdimpl Hash for DiagnosticMessageId[src]
impl Hash for DiagnosticMessageIdfn hash<__H: Hasher>(&self, __arg_0: &mut __H)[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl From<&'static Lint> for DiagnosticMessageId[src]
impl From<&'static Lint> for DiagnosticMessageIdAuto Trait Implementations
impl Send for DiagnosticMessageId
impl Send for DiagnosticMessageIdimpl Sync for DiagnosticMessageId
impl Sync for DiagnosticMessageId