Struct rustc_incremental::assert_module_sources::AssertModuleSource[−][src]

struct AssertModuleSource<'tcx> {
    tcx: TyCtxt<'tcx>,
    available_cgus: BTreeSet<String>,
}

Fields

tcx: TyCtxt<'tcx>available_cgus: BTreeSet<String>

Implementations

impl<'tcx> AssertModuleSource<'tcx>[src]

fn check_attr(&self, attr: &Attribute)[src]

fn field(&self, attr: &Attribute, name: Symbol) -> Symbol[src]

fn check_config(&self, attr: &Attribute) -> bool[src]

Scan for a cfg="foo" attribute and check whether we have a cfg flag called foo.

Auto Trait Implementations

impl<'tcx> !RefUnwindSafe for AssertModuleSource<'tcx>

impl<'tcx> !Send for AssertModuleSource<'tcx>

impl<'tcx> !Sync for AssertModuleSource<'tcx>

impl<'tcx> Unpin for AssertModuleSource<'tcx>

impl<'tcx> !UnwindSafe for AssertModuleSource<'tcx>

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.