Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Whitespace fixes
  • Loading branch information
wesleywiser committed Jun 4, 2019
1 parent 31ab573 commit b253678
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc_mir/transform/const_prop.rs
Expand Up @@ -523,14 +523,14 @@ impl<'a, 'mir, 'tcx> ConstPropagator<'a, 'mir, 'tcx> {
rval: &mut Rvalue<'tcx>,
value: Const<'tcx>,
source_info: SourceInfo,
) {
) {
trace!("attepting to replace {:?} with {:?}", rval, value);
self.ecx.validate_operand(
value,
vec![],
None,
true,
).expect("value should already be a valid const");
).expect("value should already be a valid const");

// FIXME> figure out what tho do when try_read_immediate fails
let imm = self.use_ecx(source_info, |this| {
Expand Down

0 comments on commit b253678

Please sign in to comment.