Visit unevaluated constants in super_body
This commit is contained in:
parent
5313e2e929
commit
0107cecc01
@ -288,6 +288,11 @@ macro_rules! type_annotations {
|
||||
}
|
||||
|
||||
self.visit_span(&$($mutability)? body.span);
|
||||
|
||||
for const_ in &$($mutability)? body.uneval_consts {
|
||||
let location = START_BLOCK.start_location();
|
||||
self.visit_constant(const_, location);
|
||||
}
|
||||
}
|
||||
|
||||
fn super_basic_block_data(&mut self,
|
||||
|
Loading…
Reference in New Issue
Block a user