Struct syntex_syntax::feature_gate::Features
[−]
[src]
pub struct Features {
pub unboxed_closures: bool,
pub rustc_diagnostic_macros: bool,
pub visible_private_types: bool,
pub allow_quote: bool,
pub allow_asm: bool,
pub allow_log_syntax: bool,
pub allow_concat_idents: bool,
pub allow_trace_macros: bool,
pub allow_internal_unstable: bool,
pub allow_custom_derive: bool,
pub allow_placement_in: bool,
pub allow_box: bool,
pub allow_pushpop_unsafe: bool,
pub simd_ffi: bool,
pub unmarked_api: bool,
pub negate_unsigned: bool,
pub declared_stable_lang_features: Vec<Span>,
pub declared_lib_features: Vec<(InternedString, Span)>,
pub const_fn: bool,
pub const_indexing: bool,
pub static_recursion: bool,
pub default_type_parameter_fallback: bool,
pub type_macros: bool,
pub cfg_target_feature: bool,
pub cfg_target_vendor: bool,
pub augmented_assignments: bool,
pub braced_empty_structs: bool,
pub staged_api: bool,
pub stmt_expr_attributes: bool,
}A set of features to be used by later passes.
Fields
unboxed_closures | |
rustc_diagnostic_macros | |
visible_private_types | |
allow_quote | |
allow_asm | |
allow_log_syntax | |
allow_concat_idents | |
allow_trace_macros | |
allow_internal_unstable | |
allow_custom_derive | |
allow_placement_in | |
allow_box | |
allow_pushpop_unsafe | |
simd_ffi | |
unmarked_api | |
negate_unsigned | |
declared_stable_lang_features | spans of #![feature] attrs for stable language features. for error reporting |
declared_lib_features | |
const_fn | |
const_indexing | |
static_recursion | |
default_type_parameter_fallback | |
type_macros | |
cfg_target_feature | |
cfg_target_vendor | |
augmented_assignments | |
braced_empty_structs | |
staged_api | |
stmt_expr_attributes |