pub(crate) struct ConflictingDiagnosticRuleError {
pub triggering_rule_spans: [Span; 2],
}
Expand description
An error returned by DiagnosticFilterMap::add
when it encounters conflicting rules.
Fields§
§triggering_rule_spans: [Span; 2]
Trait Implementations§
source§impl Clone for ConflictingDiagnosticRuleError
impl Clone for ConflictingDiagnosticRuleError
source§fn clone(&self) -> ConflictingDiagnosticRuleError
fn clone(&self) -> ConflictingDiagnosticRuleError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl From<ConflictingDiagnosticRuleError> for Error<'_>
impl From<ConflictingDiagnosticRuleError> for Error<'_>
source§fn from(value: ConflictingDiagnosticRuleError) -> Self
fn from(value: ConflictingDiagnosticRuleError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConflictingDiagnosticRuleError
impl RefUnwindSafe for ConflictingDiagnosticRuleError
impl Send for ConflictingDiagnosticRuleError
impl Sync for ConflictingDiagnosticRuleError
impl Unpin for ConflictingDiagnosticRuleError
impl UnwindSafe for ConflictingDiagnosticRuleError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)