about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorChristopher Durham <cad97@cad97.com>2022-07-18 15:22:01 -0400
committerChristopher Durham <cad97@cad97.com>2022-07-18 15:22:01 -0400
commitc0569f2aa7311d295cb273f66fbe365f2b5ad893 (patch)
tree8d05c8cbb51b1a24605d4b4a6e7cc3b9829bf7cd /compiler
parent144227dae949fb98896a2ba077d8fe7f36c3238e (diff)
downloadrust-c0569f2aa7311d295cb273f66fbe365f2b5ad893.tar.gz
rust-c0569f2aa7311d295cb273f66fbe365f2b5ad893.zip
Revert "Stabilize $$ in Rust 1.63.0"
This reverts commit 9edaa76adce4de737db54194eb13d6c298827b37.
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_expand/src/mbe/quoted.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_expand/src/mbe/quoted.rs b/compiler/rustc_expand/src/mbe/quoted.rs
index d4b8563a036..707cb73f097 100644
--- a/compiler/rustc_expand/src/mbe/quoted.rs
+++ b/compiler/rustc_expand/src/mbe/quoted.rs
@@ -234,6 +234,8 @@ fn parse_tree(
                             sess,
                             &Token { kind: token::Dollar, span },
                         );
+                    } else {
+                        maybe_emit_macro_metavar_expr_feature(features, sess, span);
                     }
                     TokenTree::token(token::Dollar, span)
                 }