about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/debug.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-11-09 19:06:55 +0100
committerGitHub <noreply@github.com>2020-11-09 19:06:55 +0100
commit6294300b8ec9b9eec0ec7fb0435aff93a299ed63 (patch)
tree71785f06cd9656195e715c58d589c8b335d5e52c /compiler/rustc_mir/src/transform/coverage/debug.rs
parent34244190d45d80bf66a0eec0d04f0254efd4c754 (diff)
parentc2a769f84c8b1347a93a23cb9a6704cdd1a4a77d (diff)
downloadrust-6294300b8ec9b9eec0ec7fb0435aff93a299ed63.tar.gz
rust-6294300b8ec9b9eec0ec7fb0435aff93a299ed63.zip
Rollup merge of #78710 - petrochenkov:macvisit, r=davidtwco
rustc_ast: Do not panic by default when visiting macro calls

Panicking by default made sense when we didn't have HIR or MIR and everything worked on AST, but now all AST visitors run early and majority of them have to deal with macro calls, often by ignoring them.

The second commit renames `visit_mac` to `visit_mac_call`, the corresponding structures were renamed earlier in https://github.com/rust-lang/rust/pull/69589.
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions