diff options
| author | Ralf Jung <post@ralfj.de> | 2024-05-19 10:35:44 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-05-19 10:35:44 +0200 |
| commit | 3460853a453fb85a13ef6763ae01b2e64c9be7b7 (patch) | |
| tree | fa91aa22e7d5b09dde4b55bbc4bb6c926bf8a2f2 /compiler/rustc_codegen_llvm/src | |
| parent | 1ba83f2dc11ce0f2249e597bb59839bb8ea8df6b (diff) | |
| parent | 6579ed89f0fcc26da71afdd11d30d63f6f812a0a (diff) | |
| download | rust-3460853a453fb85a13ef6763ae01b2e64c9be7b7.tar.gz rust-3460853a453fb85a13ef6763ae01b2e64c9be7b7.zip | |
Merge from rustc
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/intrinsic.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_codegen_llvm/src/intrinsic.rs b/compiler/rustc_codegen_llvm/src/intrinsic.rs index b0b867701a4..c0a1208a8c7 100644 --- a/compiler/rustc_codegen_llvm/src/intrinsic.rs +++ b/compiler/rustc_codegen_llvm/src/intrinsic.rs @@ -990,7 +990,7 @@ fn get_rust_try_fn<'ll, 'tcx>( [i8p], tcx.types.unit, false, - hir::Unsafety::Unsafe, + hir::Safety::Unsafe, Abi::Rust, )), ); @@ -1001,7 +1001,7 @@ fn get_rust_try_fn<'ll, 'tcx>( [i8p, i8p], tcx.types.unit, false, - hir::Unsafety::Unsafe, + hir::Safety::Unsafe, Abi::Rust, )), ); @@ -1010,7 +1010,7 @@ fn get_rust_try_fn<'ll, 'tcx>( [try_fn_ty, i8p, catch_fn_ty], tcx.types.i32, false, - hir::Unsafety::Unsafe, + hir::Safety::Unsafe, Abi::Rust, )); let rust_try = gen_fn(cx, "__rust_try", rust_fn_sig, codegen); |
