diff options
| author | Marcelo DomÃnguez <dmmarcelo27@gmail.com> | 2025-09-17 13:58:17 +0000 |
|---|---|---|
| committer | Marcelo DomÃnguez <dmmarcelo27@gmail.com> | 2025-09-17 13:58:17 +0000 |
| commit | e04567c363e1f0417bf8bf24830c2bc536020582 (patch) | |
| tree | 8b248d6ba91a14d98b9af18e46742699823beb02 /compiler/rustc_codegen_llvm/src/intrinsic.rs | |
| parent | 0bf85d35ec9ed9cbffd274def09027c5fe9a8f3c (diff) | |
| download | rust-e04567c363e1f0417bf8bf24830c2bc536020582.tar.gz rust-e04567c363e1f0417bf8bf24830c2bc536020582.zip | |
Check ZST via `PassMode`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/intrinsic.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/intrinsic.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/intrinsic.rs b/compiler/rustc_codegen_llvm/src/intrinsic.rs index 06c3d8ed6bc..9e6e7606491 100644 --- a/compiler/rustc_codegen_llvm/src/intrinsic.rs +++ b/compiler/rustc_codegen_llvm/src/intrinsic.rs @@ -1198,7 +1198,8 @@ fn codegen_autodiff<'ll, 'tcx>( adjust_activity_to_abi( tcx, - fn_source.ty(tcx, TypingEnv::fully_monomorphized()), + fn_source, + TypingEnv::fully_monomorphized(), &mut diff_attrs.input_activity, ); |
