diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-03-14 09:10:28 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-03-18 09:34:08 +0000 |
| commit | adda9da604a7f384d2714ec055d9c70018b163d1 (patch) | |
| tree | fd98ef0d7e242c835b705d2bccad0b9df0ec96f6 /compiler/rustc_codegen_llvm/src | |
| parent | a42873e85bcdcc83c3161309e0408f2147778523 (diff) | |
| download | rust-adda9da604a7f384d2714ec055d9c70018b163d1.tar.gz rust-adda9da604a7f384d2714ec055d9c70018b163d1.zip | |
Avoid various uses of `Option<Span>` in favor of using `DUMMY_SP` in the few cases that used `None`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/intrinsic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/intrinsic.rs b/compiler/rustc_codegen_llvm/src/intrinsic.rs index 467e02d55e3..71b69a94e99 100644 --- a/compiler/rustc_codegen_llvm/src/intrinsic.rs +++ b/compiler/rustc_codegen_llvm/src/intrinsic.rs @@ -1129,7 +1129,7 @@ fn generic_simd_intrinsic<'ll, 'tcx>( if name == sym::simd_shuffle_generic { let idx = fn_args[2] .expect_const() - .eval(tcx, ty::ParamEnv::reveal_all(), Some(span)) + .eval(tcx, ty::ParamEnv::reveal_all(), span) .unwrap() .unwrap_branch(); let n = idx.len() as u64; |
