rust/compiler/rustc_expand/src
bors 1fb9603022 Auto merge of #98020 - TaKO8Ki:use-create-snapshot-for-diagnostic-in-rustc-expand, r=Dylan-DPC
Use `create_snapshot_for_diagnostic` instead of `clone` for `Parser`

Use [`create_snapshot_for_diagnostic`](cd11905716/compiler/rustc_parse/src/parser/diagnostics.rs (L214-L223)) I implemented in https://github.com/rust-lang/rust/pull/94731 instead of `clone` to avoid duplicate unclosed delims errors being emitted when the `Parser` is dropped. I missed this one in #95068.
2022-06-12 23:25:35 +00:00
..
mbe Auto merge of #98020 - TaKO8Ki:use-create-snapshot-for-diagnostic-in-rustc-expand, r=Dylan-DPC 2022-06-12 23:25:35 +00:00
mut_visit rustc_ast: Turn MutVisitor::token_visiting_enabled into a constant 2021-10-18 00:23:24 +03:00
parse use CursorRef more, to not to clone Trees 2022-05-18 18:43:48 +03:00
tokenstream use CursorRef more, to not to clone Trees 2022-05-18 18:43:48 +03:00
base.rs Rename ProcMacro trait as BangProcMacro. 2022-05-27 15:58:35 +10:00
build.rs Basic compiler infra 2022-06-02 09:00:04 -03:00
config.rs Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
expand.rs rustc_parse: Move AST -> TokenStream conversion logic to rustc_ast 2022-05-22 12:01:07 +03:00
lib.rs Never regard macro rules with compile_error! invocations as unused 2022-06-09 23:21:06 +02:00
mbe.rs Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
module.rs Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
placeholders.rs Save colon span to suggest bounds. 2022-04-30 13:55:17 +02:00
proc_macro.rs proc_macro: don't pass a client-side function pointer through the server. 2022-05-27 19:29:21 +00:00
proc_macro_server.rs rustc_parse: Move AST -> TokenStream conversion logic to rustc_ast 2022-05-22 12:01:07 +03:00
tests.rs Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00