Add abort to safe intrinsics list
This commit is contained in:
parent
e949375098
commit
7c6935eed5
@ -702,6 +702,7 @@ enum GenericsOwner<'a> {
|
||||
fn is_intrinsic_fn_unsafe(name: &Name) -> bool {
|
||||
// Should be kept in sync with https://github.com/rust-lang/rust/blob/532d2b14c05f9bc20b2d27cbb5f4550d28343a36/compiler/rustc_typeck/src/check/intrinsic.rs#L72-L106
|
||||
![
|
||||
known::abort,
|
||||
known::add_with_overflow,
|
||||
known::bitreverse,
|
||||
known::black_box,
|
||||
|
Loading…
Reference in New Issue
Block a user