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
This commit is contained in:
bors 2019-01-24 15:48:46 +00:00
commit 01f8e25b15
60 changed files with 55 additions and 2217 deletions

View file

@ -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)