Skip to content

Commit f1c4150

Browse files
committed
Auto merge of #13868 - lowr:patch/unused-known-names-bye, r=Veykril
minor: remove unused known `Name`s After #13866, known `Name`s for safe intrinsics are no longer used and thus should be removed.
2 parents 0d76b94 + 0430b68 commit f1c4150

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

crates/hir-expand/src/name.rs

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -338,44 +338,6 @@ pub mod known {
338338
test_case,
339339
recursion_limit,
340340
feature,
341-
// Safe intrinsics
342-
abort,
343-
add_with_overflow,
344-
black_box,
345-
bitreverse,
346-
bswap,
347-
caller_location,
348-
ctlz,
349-
ctpop,
350-
cttz,
351-
discriminant_value,
352-
forget,
353-
likely,
354-
maxnumf32,
355-
maxnumf64,
356-
min_align_of_val,
357-
min_align_of,
358-
minnumf32,
359-
minnumf64,
360-
mul_with_overflow,
361-
needs_drop,
362-
ptr_guaranteed_eq,
363-
ptr_guaranteed_ne,
364-
rotate_left,
365-
rotate_right,
366-
rustc_peek,
367-
saturating_add,
368-
saturating_sub,
369-
size_of_val,
370-
size_of,
371-
sub_with_overflow,
372-
type_id,
373-
type_name,
374-
unlikely,
375-
variant_count,
376-
wrapping_add,
377-
wrapping_mul,
378-
wrapping_sub,
379341
// known methods of lang items
380342
eq,
381343
ne,

0 commit comments

Comments
 (0)