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 allow_inclusive_range: 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 rustc_attrs: bool,
pub type_macros: bool,
pub cfg_target_feature: bool,
pub cfg_target_vendor: bool,
pub cfg_target_thread_local: bool,
pub staged_api: bool,
pub stmt_expr_attributes: bool,
pub deprecated: bool,
pub question_mark: bool,
pub specialization: bool,
}A set of features to be used by later passes.
Fields
unboxed_closures | |
rustc_diagnostic_macros | |
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 | |
allow_inclusive_range | |
simd_ffi | |
unmarked_api | |
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 | |
rustc_attrs | |
type_macros | |
cfg_target_feature | |
cfg_target_vendor | |
cfg_target_thread_local | |
staged_api | |
stmt_expr_attributes | |
deprecated | |
question_mark | |
specialization |