[−][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
intrinsics: bool
lang_items: bool
staged_api: bool
allow_internal_unstable: bool
allow_internal_unsafe: bool
rustc_diagnostic_macros: bool
rustc_const_unstable: bool
link_llvm_intrinsics: bool
rustc_attrs: bool
on_unimplemented: bool
box_syntax: bool
main: bool
start: bool
fundamental: bool
unboxed_closures: bool
linkage: bool
optin_builtin_traits: bool
box_patterns: bool
prelude_import: bool
dropck_parametricity: bool
omit_gdb_pretty_printer_section: bool
abi_vectorcall: bool
structural_match: bool
dropck_eyepatch: bool
panic_runtime: bool
needs_panic_runtime: bool
compiler_builtins: bool
abi_unadjusted: bool
sanitizer_runtime: bool
profiler_runtime: bool
abi_thiscall: bool
allocator_internals: bool
format_args_nl: bool
test_2018_feature: 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
rtm_target_feature: bool
f16c_target_feature: bool
asm: bool
concat_idents: bool
link_args: bool
non_ascii_idents: bool
plugin_registrar: bool
plugin: bool
thread_local: bool
log_syntax: bool
trace_macros: bool
simd_ffi: bool
custom_attribute: bool
nll: bool
slice_patterns: bool
const_fn: bool
associated_type_defaults: bool
no_core: bool
default_type_parameter_fallback: bool
repr_simd: bool
platform_intrinsics: bool
unwind_attributes: bool
no_debug: bool
stmt_expr_attributes: bool
type_ascription: bool
cfg_target_thread_local: bool
specialization: bool
naked_functions: bool
cfg_target_has_atomic: bool
exclusive_range_pattern: bool
never_type: bool
exhaustive_patterns: bool
untagged_unions: bool
link_cfg: bool
abi_ptx: bool
repr128: bool
static_nobundle: bool
abi_msp430_interrupt: bool
decl_macro: bool
abi_x86_interrupt: bool
global_asm: bool
overlapping_marker_traits: bool
allow_fail: bool
unsized_tuple_coercion: bool
generators: 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
trait_alias: bool
infer_static_outlives_requirements: bool
macros_in_extern: bool
const_fn_union: bool
const_raw_ptr_to_usize_cast: bool
const_raw_ptr_deref: bool
const_compare_raw_pointers: bool
doc_alias: bool
existential_type: bool
trivial_bounds: bool
label_break_value: bool
doc_keyword: bool
async_await: bool
await_macro: bool
const_transmute: bool
try_blocks: bool
alloc_error_handler: bool
abi_amdgpu_kernel: bool
const_panic: bool
marker_trait_attr: bool
proc_macro_hygiene: 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
precise_pointer_size_matching: bool
re_rebalance_coherence: bool
ffi_returns_twice: 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<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> 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, U> TryInto<U> 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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<E> SpecializationError for E
[src]
default fn not_found<S, T>(
trait_name: &'static str,
method_name: &'static str
) -> E where
T: ?Sized,
[src]
trait_name: &'static str,
method_name: &'static str
) -> E where
T: ?Sized,
impl<T> Send for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Sync for T where
T: ?Sized,
[src]
T: ?Sized,