Skip to content

Commit 7c6935e

Browse files
committed
Add abort to safe intrinsics list
1 parent e949375 commit 7c6935e

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)