Type Alias rustc_session::parse::CrateCheckConfig
source · pub type CrateCheckConfig = CheckCfg<Symbol>;
Aliased Type§
struct CrateCheckConfig {
pub exhaustive_names: bool,
pub exhaustive_values: bool,
pub expecteds: HashMap<Symbol, ExpectedValues<Symbol>, BuildHasherDefault<FxHasher>>,
}
Fields§
§exhaustive_names: bool
Is well known names activated
exhaustive_values: bool
Is well known values activated
expecteds: HashMap<Symbol, ExpectedValues<Symbol>, BuildHasherDefault<FxHasher>>
All the expected values for a config name
Implementations§
source§impl CrateCheckConfig
impl CrateCheckConfig
pub fn fill_well_known(&mut self, current_target: &Target)
Trait Implementations§
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 40 bytes