diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2025-07-03 18:41:12 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2025-07-23 23:54:37 +0000 |
| commit | 0460c92d527dbada3fde227d3f01e6d1e132a186 (patch) | |
| tree | 66d4e207102600eca2fe9e9cebda450b853f72d3 /compiler/rustc_mir_transform/src | |
| parent | 9ff071219bca913e45235568defadd5ab840c50a (diff) | |
| download | rust-0460c92d527dbada3fde227d3f01e6d1e132a186.tar.gz rust-0460c92d527dbada3fde227d3f01e6d1e132a186.zip | |
Remove useless lifetime parameter.
Diffstat (limited to 'compiler/rustc_mir_transform/src')
| -rw-r--r-- | compiler/rustc_mir_transform/src/gvn.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_transform/src/gvn.rs b/compiler/rustc_mir_transform/src/gvn.rs index 6657f89ceb5..dc99b67a1e8 100644 --- a/compiler/rustc_mir_transform/src/gvn.rs +++ b/compiler/rustc_mir_transform/src/gvn.rs @@ -1542,7 +1542,7 @@ impl<'body, 'tcx> VnState<'body, 'tcx> { fn op_to_prop_const<'tcx>( ecx: &mut InterpCx<'tcx, DummyMachine>, op: &OpTy<'tcx>, -) -> Option<ConstValue<'tcx>> { +) -> Option<ConstValue> { // Do not attempt to propagate unsized locals. if op.layout.is_unsized() { return None; |
