pub struct InheritanceWarning {
pub kind: InheritanceWarningKind,
pub pattern_id: String,
}Expand description
Non-fatal advisory about pattern-id inheritance, surfaced through
doctor (epic phase P7.3) so the user can fix manifest hygiene
issues without the resolver itself failing.
Fields§
§kind: InheritanceWarningKindWhat the warning is about.
pattern_id: StringThe pattern_id value that triggered the warning.
Trait Implementations§
Source§impl Clone for InheritanceWarning
impl Clone for InheritanceWarning
Source§fn clone(&self) -> InheritanceWarning
fn clone(&self) -> InheritanceWarning
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InheritanceWarning
impl Debug for InheritanceWarning
Source§impl PartialEq for InheritanceWarning
impl PartialEq for InheritanceWarning
Source§fn eq(&self, other: &InheritanceWarning) -> bool
fn eq(&self, other: &InheritanceWarning) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for InheritanceWarning
impl StructuralPartialEq for InheritanceWarning
Auto Trait Implementations§
impl Freeze for InheritanceWarning
impl RefUnwindSafe for InheritanceWarning
impl Send for InheritanceWarning
impl Sync for InheritanceWarning
impl Unpin for InheritanceWarning
impl UnsafeUnpin for InheritanceWarning
impl UnwindSafe for InheritanceWarning
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.