pub enum NoticeKind {
UnrewritableImport {
import: String,
replacement: String,
},
Unreachable {
item: String,
from: Address,
needs: ReachKind,
},
RedundantImport {
import: String,
},
}Variants§
UnrewritableImport
An import the layout understood but the surgery could not rewrite in place;
replacement is what it should become.
Unreachable
After the move, from references item but may not see it, and the
widening it would take is not one vvv makes on its own (making a
declaration public across packages is the author’s call).
RedundantImport
An import that now names a declaration in its own file, inside a grouped statement vvv does not split for this; remove the entry.
Trait Implementations§
Source§impl Clone for NoticeKind
impl Clone for NoticeKind
Source§impl Debug for NoticeKind
impl Debug for NoticeKind
Source§impl<'de> Deserialize<'de> for NoticeKind
impl<'de> Deserialize<'de> for NoticeKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NoticeKind
Source§impl PartialEq for NoticeKind
impl PartialEq for NoticeKind
Source§impl Serialize for NoticeKind
impl Serialize for NoticeKind
impl StructuralPartialEq for NoticeKind
Auto Trait Implementations§
impl Freeze for NoticeKind
impl RefUnwindSafe for NoticeKind
impl Send for NoticeKind
impl Sync for NoticeKind
impl Unpin for NoticeKind
impl UnsafeUnpin for NoticeKind
impl UnwindSafe for NoticeKind
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more