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 5313e2e commit 0107cecCopy full SHA for 0107cec
src/librustc_middle/mir/visit.rs
@@ -288,6 +288,11 @@ macro_rules! make_mir_visitor {
288
}
289
290
self.visit_span(&$($mutability)? body.span);
291
+
292
+ for const_ in &$($mutability)? body.uneval_consts {
293
+ let location = START_BLOCK.start_location();
294
+ self.visit_constant(const_, location);
295
+ }
296
297
298
fn super_basic_block_data(&mut self,
0 commit comments