Struct rustc_ast_passes::feature_gate::PostExpansionVisitor[−][src]

struct PostExpansionVisitor<'a> {
    sess: &'a Session,
    features: &'a Features,
}

Fields

sess: &'a Sessionfeatures: &'a Features

Implementations

impl<'a> PostExpansionVisitor<'a>[src]

fn check_abi(&self, abi: StrLit)[src]

fn check_extern(&self, ext: Extern)[src]

fn maybe_report_invalid_custom_discriminants(&self, variants: &[Variant])[src]

fn check_gat(&self, generics: &Generics, span: Span)[src]

fn check_impl_trait(&self, ty: &Ty)[src]

Feature gate impl Trait inside type Alias = $type_expr;.

Trait Implementations

impl<'a> Visitor<'a> for PostExpansionVisitor<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for PostExpansionVisitor<'a>

impl<'a> !Send for PostExpansionVisitor<'a>

impl<'a> !Sync for PostExpansionVisitor<'a>

impl<'a> Unpin for PostExpansionVisitor<'a>

impl<'a> !UnwindSafe for PostExpansionVisitor<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.