diff options
| author | Wesley Wiser <wwiser@gmail.com> | 2019-06-04 06:30:36 -0400 |
|---|---|---|
| committer | Wesley Wiser <wwiser@gmail.com> | 2019-06-04 06:30:36 -0400 |
| commit | b2536781afd0eaef11f6b2f68924dde380cf18f2 (patch) | |
| tree | ac3ea9b8dacdad1db47ea55abed37c0266ace869 | |
| parent | 31ab57305227576646174b952e30969907f98986 (diff) | |
| download | rust-b2536781afd0eaef11f6b2f68924dde380cf18f2.tar.gz rust-b2536781afd0eaef11f6b2f68924dde380cf18f2.zip | |
Whitespace fixes
| -rw-r--r-- | src/librustc_mir/transform/const_prop.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_mir/transform/const_prop.rs b/src/librustc_mir/transform/const_prop.rs index ded294ec290..dbaa4e557c6 100644 --- a/src/librustc_mir/transform/const_prop.rs +++ b/src/librustc_mir/transform/const_prop.rs @@ -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| { |
