We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4751399 commit 400f997Copy full SHA for 400f997
src/librustc_mir/interpret/operand.rs
@@ -226,8 +226,8 @@ impl<'tcx, Tag> Immediate<Tag> {
226
#[inline]
227
pub fn to_meta(self) -> EvalResult<'tcx, Option<Scalar<Tag>>> {
228
Ok(match self {
229
- Value::Scalar(_) => None,
230
- Value::ScalarPair(_, meta) => Some(meta.not_undef()?),
+ Immediate::Scalar(_) => None,
+ Immediate::ScalarPair(_, meta) => Some(meta.not_undef()?),
231
})
232
}
233
0 commit comments