Skip to content

Commit 400f997

Browse files
committed
Rebase fallout
1 parent 4751399 commit 400f997

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc_mir/interpret/operand.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,8 @@ impl<'tcx, Tag> Immediate<Tag> {
226226
#[inline]
227227
pub fn to_meta(self) -> EvalResult<'tcx, Option<Scalar<Tag>>> {
228228
Ok(match self {
229-
Value::Scalar(_) => None,
230-
Value::ScalarPair(_, meta) => Some(meta.not_undef()?),
229+
Immediate::Scalar(_) => None,
230+
Immediate::ScalarPair(_, meta) => Some(meta.not_undef()?),
231231
})
232232
}
233233
}

0 commit comments

Comments
 (0)