diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-04-03 02:14:56 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-04-03 02:14:56 +0100 |
commit | bf695c487a05efecf64475ff4c34a16e90629ff1 (patch) | |
tree | b02702c17749c958434ee465530555b335abe2b8 /crates/hir_expand/src/quote.rs | |
parent | eb264fb81963d9ec08b2797818073e8ae2993a41 (diff) | |
parent | 5742cdf3f1c591709e68d65c5701257cb77583db (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.rs | 1 |
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 | { |