[−][src]Struct syntax::feature_gate::Features
A set of features to be used by later passes.
Fields
declared_lang_features: Vec<(Symbol, Span, Option<Symbol>)>
#![feature]
attrs for language features, for error reporting
declared_lib_features: Vec<(Symbol, Span)>
#![feature]
attrs for non-language (library) features
asm: bool
concat_idents: bool
link_args: bool
log_syntax: bool
non_ascii_idents: bool
plugin_registrar: bool
thread_local: bool
trace_macros: bool
intrinsics: bool
lang_items: bool
format_args_nl: bool
link_llvm_intrinsics: bool
linkage: bool
rustc_diagnostic_macros: bool
rustc_const_unstable: bool
box_syntax: bool
unboxed_closures: bool
fundamental: bool
main: bool
needs_allocator: bool
on_unimplemented: bool
plugin: bool
simd_ffi: bool
start: bool
structural_match: bool
panic_runtime: bool
needs_panic_runtime: bool
optin_builtin_traits: bool
staged_api: bool
no_core: bool
box_patterns: bool
dropck_parametricity: bool
dropck_eyepatch: bool
custom_attribute: bool
rustc_attrs: bool
nll: bool
allow_internal_unstable: bool
allow_internal_unsafe: bool
slice_patterns: bool
const_fn: bool
const_fn_union: bool
const_raw_ptr_to_usize_cast: bool
const_raw_ptr_deref: bool
const_transmute: bool
const_compare_raw_pointers: bool
const_panic: bool
prelude_import: bool
default_type_parameter_fallback: bool
associated_type_defaults: bool
repr_simd: bool
platform_intrinsics: bool
unwind_attributes: bool
naked_functions: bool
no_debug: bool
omit_gdb_pretty_printer_section: bool
stmt_expr_attributes: bool
type_ascription: bool
cfg_target_thread_local: bool
abi_vectorcall: bool
exclusive_range_pattern: bool
specialization: bool
cfg_target_has_atomic: bool
never_type: bool
exhaustive_patterns: bool
untagged_unions: bool
compiler_builtins: bool
link_cfg: bool
abi_ptx: bool
repr128: bool
ffi_returns_twice: bool
abi_unadjusted: bool
decl_macro: bool
static_nobundle: bool
abi_msp430_interrupt: bool
sanitizer_runtime: bool
profiler_runtime: bool
abi_x86_interrupt: bool
try_blocks: bool
global_asm: bool
overlapping_marker_traits: bool
marker_trait_attr: bool
abi_thiscall: bool
allow_fail: bool
unsized_tuple_coercion: bool
generators: bool
trait_alias: bool
allocator_internals: bool
doc_cfg: bool
doc_masked: bool
doc_spotlight: bool
external_doc: bool
non_exhaustive: bool
crate_visibility_modifier: bool
extern_types: bool
arbitrary_self_types: bool
in_band_lifetimes: bool
generic_associated_types: bool
infer_static_outlives_requirements: bool
macros_in_extern: bool
existential_type: bool
arm_target_feature: bool
aarch64_target_feature: bool
hexagon_target_feature: bool
powerpc_target_feature: bool
mips_target_feature: bool
avx512_target_feature: bool
mmx_target_feature: bool
sse4a_target_feature: bool
tbm_target_feature: bool
wasm_target_feature: bool
adx_target_feature: bool
cmpxchg16b_target_feature: bool
movbe_target_feature: bool
proc_macro_hygiene: bool
doc_alias: bool
trivial_bounds: bool
label_break_value: bool
precise_pointer_size_matching: bool
doc_keyword: bool
async_await: bool
alloc_error_handler: bool
abi_amdgpu_kernel: bool
test_2018_feature: bool
unsized_locals: bool
custom_test_frameworks: bool
custom_inner_attributes: bool
bind_by_move_pattern_guards: bool
impl_trait_in_bindings: bool
underscore_const_names: bool
lint_reasons: bool
type_alias_enum_variants: bool
re_rebalance_coherence: bool
const_generics: bool
optimize_attribute: bool
repr_align_enum: bool
c_variadic: bool
Methods
impl Features
[src]
pub fn new() -> Features
[src]
pub fn walk_feature_fields<F>(&self, f: F) where
F: FnMut(&str, bool),
[src]
F: FnMut(&str, bool),
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<E> SpecializationError for E
[src]
impl<T> Send for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Sync for T where
T: ?Sized,
[src]
T: ?Sized,