diff options
| author | Mahmut Bulut <vertexclique@gmail.com> | 2019-06-14 16:55:36 +0300 |
|---|---|---|
| committer | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-12-03 10:20:15 +0100 |
| commit | f1bacb2dca610b0babeba526020e2b87899c2d44 (patch) | |
| tree | dc79946f7e408b3e2d67ba1fb1df716061b85ceb /src/libsyntax_pos | |
| parent | 4787e97475de6be9487e3d9255a9c2d3c0bf9252 (diff) | |
| download | rust-f1bacb2dca610b0babeba526020e2b87899c2d44.tar.gz rust-f1bacb2dca610b0babeba526020e2b87899c2d44.zip | |
Check intrinsics for callability in const fns
Diffstat (limited to 'src/libsyntax_pos')
| -rw-r--r-- | src/libsyntax_pos/symbol.rs | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/libsyntax_pos/symbol.rs b/src/libsyntax_pos/symbol.rs index 3059b059691..0d0b8598cc6 100644 --- a/src/libsyntax_pos/symbol.rs +++ b/src/libsyntax_pos/symbol.rs @@ -121,6 +121,7 @@ symbols! { abi_vectorcall, abi_x86_interrupt, aborts, + add_with_overflow, advanced_slice_patterns, adx_target_feature, alias, @@ -171,7 +172,10 @@ symbols! { box_patterns, box_syntax, braced_empty_structs, + bswap, + bitreverse, C, + caller_location, cdylib, cfg, cfg_attr, @@ -226,6 +230,11 @@ symbols! { crate_name, crate_type, crate_visibility_modifier, + ctpop, + cttz, + cttz_nonzero, + ctlz, + ctlz_nonzero, custom_attribute, custom_derive, custom_inner_attributes, @@ -430,6 +439,7 @@ symbols! { member_constraints, message, meta, + min_align_of, min_const_fn, min_const_unsafe_fn, mips_target_feature, @@ -439,11 +449,13 @@ symbols! { more_struct_aliases, move_val_init, movbe_target_feature, + mul_with_overflow, must_use, naked, naked_functions, name, needs_allocator, + needs_drop, needs_panic_runtime, negate_unsigned, never, @@ -519,6 +531,7 @@ symbols! { poll_with_tls_context, powerpc_target_feature, precise_pointer_size_matching, + pref_align_of, prelude, prelude_import, primitive, @@ -535,6 +548,7 @@ symbols! { proc_macro_non_items, proc_macro_path_invoc, profiler_runtime, + ptr_offset_from, pub_restricted, pushpop_unsafe, quad_precision_float, @@ -570,6 +584,8 @@ symbols! { Return, rhs, rlib, + rotate_left, + rotate_right, rt, rtm_target_feature, rust, @@ -637,14 +653,19 @@ symbols! { rvalue_static_promotion, sanitize, sanitizer_runtime, + saturating_add, + saturating_sub, _Self, self_in_typedefs, self_struct_ctor, should_panic, simd, + simd_extract, simd_ffi, + simd_insert, since, size, + size_of, slice_patterns, slicing_syntax, soft, @@ -672,6 +693,7 @@ symbols! { structural_match, struct_variant, sty, + sub_with_overflow, suggestion, target_feature, target_has_atomic, @@ -707,6 +729,8 @@ symbols! { Ty, ty, type_alias_impl_trait, + type_id, + type_name, TyCtxt, TyKind, type_alias_enum_variants, @@ -719,6 +743,8 @@ symbols! { u64, u8, unboxed_closures, + unchecked_shl, + unchecked_shr, underscore_const_names, underscore_imports, underscore_lifetimes, @@ -752,6 +778,9 @@ symbols! { while_let, windows, windows_subsystem, + wrapping_add, + wrapping_sub, + wrapping_mul, Yield, } } |
