rust/compiler/rustc_ast/src
Dylan DPC 8ebca242bc
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.
2020-11-09 19:06:55 +01:00
..
ast
attr fix a couple of clippy warnings: 2020-11-04 13:48:50 +01:00
expand
util Auto merge of #78066 - bugadani:wat, r=jonas-schievink 2020-10-18 13:50:31 +00:00
ast.rs Treat trailing semicolon as a statement in macro call 2020-11-02 13:03:13 -05:00
crate_disambiguator.rs
entry.rs
lib.rs tidy 2020-09-23 22:08:30 +02:00
mut_visit.rs Rollup merge of #78710 - petrochenkov:macvisit, r=davidtwco 2020-11-09 19:06:55 +01:00
node_id.rs The renumber pass is long gone 2020-11-06 03:18:01 +01:00
ptr.rs
token.rs Suggest expressions that look like const generic arguments should be enclosed in brackets 2020-10-26 21:54:45 +00:00
tokenstream.rs Expand NtExpr tokens only in key-value attributes 2020-11-03 00:53:43 +03:00
visit.rs rustc_ast: visit_mac -> visit_mac_call 2020-11-03 23:39:51 +03:00