Skip to content

Commit 59088d8

Browse files
bors[bot]lnicola
andauthored
Merge #11613
11613: fix: Add `abort` to safe intrinsics list r=lnicola a=lnicola Closes #11611 bors r+ Co-authored-by: Laurențiu Nicola <[email protected]>
2 parents e949375 + 7c6935e commit 59088d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/hir_def/src/item_tree/lower.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -702,6 +702,7 @@ enum GenericsOwner<'a> {
702702
fn is_intrinsic_fn_unsafe(name: &Name) -> bool {
703703
// Should be kept in sync with https://github.com/rust-lang/rust/blob/532d2b14c05f9bc20b2d27cbb5f4550d28343a36/compiler/rustc_typeck/src/check/intrinsic.rs#L72-L106
704704
![
705+
known::abort,
705706
known::add_with_overflow,
706707
known::bitreverse,
707708
known::black_box,

0 commit comments

Comments
 (0)