pub enum MergeWarningKind {
NoOpOverride {
field: OverrideField,
},
OverrideForUndeclaredPath,
ProjectLocalForUndeclaredPath,
}Expand description
Categories of advisory warnings — see the module-level doc for detailed descriptions.
Variants§
NoOpOverride
An [overrides] field carries the same value as the global
index. The override is a no-op; recommend removing it so the
project does not silently fall behind a future global change.
Fields
§
field: OverrideFieldWhich field is identical.
OverrideForUndeclaredPath
An [overrides."<path>"] block exists for a path that is not
listed in required or optional. Likely a typo or leftover.
ProjectLocalForUndeclaredPath
A [secret."<path>"] block exists for a path that is not
listed in required or optional. The metadata is registered
but no caller depends on it.
Trait Implementations§
Source§impl Clone for MergeWarningKind
impl Clone for MergeWarningKind
Source§fn clone(&self) -> MergeWarningKind
fn clone(&self) -> MergeWarningKind
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 MergeWarningKind
impl Debug for MergeWarningKind
impl Eq for MergeWarningKind
Source§impl PartialEq for MergeWarningKind
impl PartialEq for MergeWarningKind
Source§fn eq(&self, other: &MergeWarningKind) -> bool
fn eq(&self, other: &MergeWarningKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MergeWarningKind
impl Serialize for MergeWarningKind
impl StructuralPartialEq for MergeWarningKind
Auto Trait Implementations§
impl Freeze for MergeWarningKind
impl RefUnwindSafe for MergeWarningKind
impl Send for MergeWarningKind
impl Sync for MergeWarningKind
impl Unpin for MergeWarningKind
impl UnsafeUnpin for MergeWarningKind
impl UnwindSafe for MergeWarningKind
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.