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 f82256e commit ff652b8Copy full SHA for ff652b8
src/librustc_mir/interpret/eval_context.rs
@@ -76,7 +76,7 @@ pub struct Frame<'mir, 'tcx: 'mir> {
76
/// `None` represents a local that is currently dead, while a live local
77
/// can either directly contain `Scalar` or refer to some part of an `Allocation`.
78
///
79
- /// Before being initialized, arguments are `Value::Scalar(Scalar::Undef)` and other locals are `None`.
+ /// Before being initialized, arguments are `Value::Scalar(Scalar::undef())` and other locals are `None`.
80
pub locals: IndexVec<mir::Local, Option<Value>>,
81
82
////////////////////////////////////////////////////////////////////////////////
0 commit comments