From 0430b68398ef19d17f183ac4d6502612df5b4774 Mon Sep 17 00:00:00 2001 From: Ryo Yoshida Date: Sat, 31 Dec 2022 16:17:38 +0900 Subject: [PATCH] Remove unused known `Name`s --- crates/hir-expand/src/name.rs | 38 ----------------------------------- 1 file changed, 38 deletions(-) diff --git a/crates/hir-expand/src/name.rs b/crates/hir-expand/src/name.rs index beff3f6ad96..49965425433 100644 --- a/crates/hir-expand/src/name.rs +++ b/crates/hir-expand/src/name.rs @@ -338,44 +338,6 @@ macro_rules! known_names { test_case, recursion_limit, feature, - // Safe intrinsics - abort, - add_with_overflow, - black_box, - bitreverse, - bswap, - caller_location, - ctlz, - ctpop, - cttz, - discriminant_value, - forget, - likely, - maxnumf32, - maxnumf64, - min_align_of_val, - min_align_of, - minnumf32, - minnumf64, - mul_with_overflow, - needs_drop, - ptr_guaranteed_eq, - ptr_guaranteed_ne, - rotate_left, - rotate_right, - rustc_peek, - saturating_add, - saturating_sub, - size_of_val, - size_of, - sub_with_overflow, - type_id, - type_name, - unlikely, - variant_count, - wrapping_add, - wrapping_mul, - wrapping_sub, // known methods of lang items eq, ne,