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 DiagnosticMessageId
fn clone(&self) -> DiagnosticMessageId
[src]
fn clone(&self) -> DiagnosticMessageId
Returns 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 DiagnosticMessageId
impl Debug for DiagnosticMessageId
[src]
impl Debug for DiagnosticMessageId
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for DiagnosticMessageId
[src]
impl PartialEq for DiagnosticMessageId
fn eq(&self, other: &DiagnosticMessageId) -> bool
[src]
fn eq(&self, other: &DiagnosticMessageId) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DiagnosticMessageId) -> bool
[src]
fn ne(&self, other: &DiagnosticMessageId) -> bool
This method tests for !=
.
impl Eq for DiagnosticMessageId
[src]
impl Eq for DiagnosticMessageId
fn assert_receiver_is_total_eq(&self)
[src]
fn assert_receiver_is_total_eq(&self)
impl Hash for DiagnosticMessageId
[src]
impl Hash for DiagnosticMessageId
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &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 DiagnosticMessageId
Auto Trait Implementations
impl Send for DiagnosticMessageId
impl Send for DiagnosticMessageId
impl Sync for DiagnosticMessageId
impl Sync for DiagnosticMessageId