aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_expand/src/quote.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-04-03 02:14:56 +0100
committerGitHub <[email protected]>2021-04-03 02:14:56 +0100
commitbf695c487a05efecf64475ff4c34a16e90629ff1 (patch)
treeb02702c17749c958434ee465530555b335abe2b8 /crates/hir_expand/src/quote.rs
parenteb264fb81963d9ec08b2797818073e8ae2993a41 (diff)
parent5742cdf3f1c591709e68d65c5701257cb77583db (diff)
Merge #8304
8304: Support the new `panic!()` macro r=jonas-schievink a=jonas-schievink Includes a minor fixup to macro 2.0 parsing. bors r+ Co-authored-by: Jonas Schievink <[email protected]>
Diffstat (limited to 'crates/hir_expand/src/quote.rs')
-rw-r--r--crates/hir_expand/src/quote.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/hir_expand/src/quote.rs b/crates/hir_expand/src/quote.rs
index 08bc5aa49..c82487ef0 100644
--- a/crates/hir_expand/src/quote.rs
+++ b/crates/hir_expand/src/quote.rs
@@ -104,6 +104,7 @@ macro_rules! __quote {
104 ( . ) => {$crate::__quote!(@PUNCT '.')}; 104 ( . ) => {$crate::__quote!(@PUNCT '.')};
105 ( < ) => {$crate::__quote!(@PUNCT '<')}; 105 ( < ) => {$crate::__quote!(@PUNCT '<')};
106 ( > ) => {$crate::__quote!(@PUNCT '>')}; 106 ( > ) => {$crate::__quote!(@PUNCT '>')};
107 ( ! ) => {$crate::__quote!(@PUNCT '!')};
107 108
108 ( $first:tt $($tail:tt)+ ) => { 109 ( $first:tt $($tail:tt)+ ) => {
109 { 110 {