about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-01-24 15:48:46 +0000
committerbors <bors@rust-lang.org>2019-01-24 15:48:46 +0000
commit01f8e25b15f4ab157c8e7c9c56054df7595ec0e1 (patch)
tree5c4eeb98011f8ae07b45521ea85759e8a168bc22 /src/libsyntax/parse/parser.rs
parent095b44c83b540bb4dbf74be1cae604f4bae87989 (diff)
parentdb97c48ad6e7f36468b152e9b08efc6f2f7da691 (diff)
downloadrust-01f8e25b15f4ab157c8e7c9c56054df7595ec0e1.tar.gz
rust-01f8e25b15f4ab157c8e7c9c56054df7595ec0e1.zip
Auto merge of #51285 - Mark-Simulacrum:remove-quote_apis, r=Manishearth
Remove quote_*! macros

This deletes a considerable amount of test cases, some of which we may want to keep. I'm not entirely certain what the primary intent of many of them was; if we should keep them I can attempt to edit each case to continue compiling without the quote_*! macros involved.

Fixes #46849.
Fixes #12265.
Fixes #12266.
Fixes #26994.

r? @Manishearth
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index c7e33a16564..e4950d1b5a1 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -1286,9 +1286,6 @@ impl<'a> Parser<'a> {
     crate fn span_bug<S: Into<MultiSpan>>(&self, sp: S, m: &str) -> ! {
         self.sess.span_diagnostic.span_bug(sp, m)
     }
-    crate fn abort_if_errors(&self) {
-        self.sess.span_diagnostic.abort_if_errors();
-    }
 
     fn cancel(&self, err: &mut DiagnosticBuilder) {
         self.sess.span_diagnostic.cancel(err)