pub enum OutdatedReason {
Gone,
Ambiguous {
matches: usize,
},
}Expand description
Why an anchor did not relocate. Attaching a comment to the wrong code costs more than leaving it behind, so anything short of one certain match lands here rather than being guessed at.
Variants§
Gone
The anchored code appears nowhere in the current diff, or its file is absent or renamed.
Ambiguous
Several locations match it equally well, so picking one would be a guess.
Trait Implementations§
Source§impl Clone for OutdatedReason
impl Clone for OutdatedReason
impl Copy for OutdatedReason
Source§impl Debug for OutdatedReason
impl Debug for OutdatedReason
impl Eq for OutdatedReason
Source§impl PartialEq for OutdatedReason
impl PartialEq for OutdatedReason
impl StructuralPartialEq for OutdatedReason
Auto Trait Implementations§
impl Freeze for OutdatedReason
impl RefUnwindSafe for OutdatedReason
impl Send for OutdatedReason
impl Sync for OutdatedReason
impl Unpin for OutdatedReason
impl UnsafeUnpin for OutdatedReason
impl UnwindSafe for OutdatedReason
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.