[−][src]Enum rustc_resolve::CrateLint
Variants
Do not issue the lint.
SimplePath(NodeId)This lint applies to some arbitrary path; e.g., impl ::foo::Bar.
In this case, we can take the span of that path.
This lint comes from a use statement. In this case, what we
care about really is the root use statement; e.g., if we
have nested things like use a::{b, c}, we care about the
use a part.
This is the "trait item" from a fully qualified path. For example,
we might be resolving X::Y::Z from a path like <T as X::Y>::Z.
The path_span is the span of the to the trait itself (X::Y).
Implementations
impl CrateLint[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CrateLint
impl !Send for CrateLint
impl !Sync for CrateLint
impl Unpin for CrateLint
impl UnwindSafe for CrateLint
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,