rust/compiler/rustc_expand/src
bors 44e3daf5ee Auto merge of #80459 - mark-i-m:or-pat-reg, r=petrochenkov
Implement edition-based macro :pat feature

This PR does two things:
1. Fixes the perf regression from https://github.com/rust-lang/rust/pull/80100#issuecomment-750893149
2. Implements `:pat2018` and `:pat2021` matchers, as described by `@joshtriplett`  in https://github.com/rust-lang/rust/issues/54883#issuecomment-745509090 behind the feature gate `edition_macro_pat`.

r? `@petrochenkov`

cc `@Mark-Simulacrum`
2020-12-31 14:52:26 +00:00
..
mbe Implement edition-based macro pat feature 2020-12-30 09:57:49 -06: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 Remove pretty-print/reparse hack, and add derive-specific hack 2020-12-29 09:36:42 -05:00
build.rs Properly handle attributes on statements 2020-11-26 17:08:35 -05:00
config.rs Remove pretty-print/reparse hack, and add derive-specific hack 2020-12-29 09:36:42 -05:00
expand.rs Remove pretty-print/reparse hack, and add derive-specific hack 2020-12-29 09:36:42 -05:00
lib.rs Remove some no longer necessary #[cfg(test)]s 2020-12-12 19:20:37 +03:00
mbe.rs Revert "Promote missing_fragment_specifier to hard error" 2020-12-22 09:33:16 -05:00
module.rs Syntactically permit unsafety on mods 2020-09-10 06:56:33 -07:00
placeholders.rs Properly handle attributes on statements 2020-11-26 17:08:35 -05:00
proc_macro_server.rs Remove pretty-print/reparse hack, and add derive-specific hack 2020-12-29 09:36:42 -05:00
proc_macro.rs Remove pretty-print/reparse hack, and add derive-specific hack 2020-12-29 09:36:42 -05:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00