Rollup merge of #102021 - lcnr:tyConst-fun, r=b-naber,BoxyUwU
some post-valtree cleanup r? project-const-generics cc ```@b-naber```
This commit is contained in:
commit
b149c48186
12 changed files with 58 additions and 122 deletions
|
@ -471,7 +471,7 @@ impl<'mir, 'tcx> ConstPropagator<'mir, 'tcx> {
|
|||
return None;
|
||||
}
|
||||
|
||||
self.ecx.mir_const_to_op(&c.literal, None).ok()
|
||||
self.ecx.const_to_op(&c.literal, None).ok()
|
||||
}
|
||||
|
||||
/// Returns the value, if any, of evaluating `place`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue