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

pub(in assert_module_sources) struct AssertModuleSource<'tcx> {
    tcx: TyCtxt<'tcx>,
    available_cgus: BTreeSet<String>,
}

Fields

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

Implementations

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

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

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

pub(in assert_module_sources) 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.