rust/compiler/rustc_expand/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
..
mbe rustc_ast: visit_mac -> visit_mac_call 2020-11-03 23:39:51 +03:00
mut_visit rustc_ast: visit_mac -> visit_mac_call 2020-11-03 23:39:51 +03:00
parse Move lexer unit tests to rustc_lexer 2020-08-30 19:53:36 +02:00
tokenstream mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
base.rs Use the right span for errors about #[deprecated] attributes. 2020-11-01 20:48:58 +01:00
build.rs Remove unused code from remaining compiler crates 2020-10-14 04:14:32 +02:00
config.rs rustc_ast: Do not panic by default when visiting macro calls 2020-11-03 20:38:20 +03:00
expand.rs Rollup merge of #78710 - petrochenkov:macvisit, r=davidtwco 2020-11-09 19:06:55 +01:00
lib.rs Remove redundant #![feature(...)] 's from compiler/ 2020-09-17 07:58:45 +02:00
mbe.rs Fix some more clippy warnings 2020-10-30 10:12:56 -04:00
module.rs Syntactically permit unsafety on mods 2020-09-10 06:56:33 -07:00
placeholders.rs Rollup merge of #78710 - petrochenkov:macvisit, r=davidtwco 2020-11-09 19:06:55 +01:00
proc_macro.rs Improve E0777 help message 2020-10-02 16:33:44 +02:00
proc_macro_server.rs Rollup merge of #75146 - tmiasko:range-overflow, r=Mark-Simulacrum 2020-09-16 01:30:30 +02:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00