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