From: Eduard-Mihai Burtescu Date: Tue, 20 Mar 2018 18:20:03 +0000 (+0200) Subject: tests: remove ignore-stage1 where possible in proc_macro tests. X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=d3ab4a74efad266155fcd402c8d159af9e443e3d;p=rust.git tests: remove ignore-stage1 where possible in proc_macro tests. --- diff --git a/src/test/compile-fail-fulldeps/proc-macro/attr-invalid-exprs.rs b/src/test/compile-fail-fulldeps/proc-macro/attr-invalid-exprs.rs index f52c251c14d..798cd1406ac 100644 --- a/src/test/compile-fail-fulldeps/proc-macro/attr-invalid-exprs.rs +++ b/src/test/compile-fail-fulldeps/proc-macro/attr-invalid-exprs.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:attr-stmt-expr.rs -// ignore-stage1 //! Attributes producing expressions in invalid locations diff --git a/src/test/compile-fail-fulldeps/proc-macro/attr-stmt-expr.rs b/src/test/compile-fail-fulldeps/proc-macro/attr-stmt-expr.rs index 1344156b305..6d1d5dfe8cc 100644 --- a/src/test/compile-fail-fulldeps/proc-macro/attr-stmt-expr.rs +++ b/src/test/compile-fail-fulldeps/proc-macro/attr-stmt-expr.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:attr-stmt-expr.rs -// ignore-stage1 #![feature(proc_macro_hygiene)] diff --git a/src/test/compile-fail-fulldeps/proc-macro/attribute-with-error.rs b/src/test/compile-fail-fulldeps/proc-macro/attribute-with-error.rs index cf2522be922..ed2e8ec00a9 100644 --- a/src/test/compile-fail-fulldeps/proc-macro/attribute-with-error.rs +++ b/src/test/compile-fail-fulldeps/proc-macro/attribute-with-error.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:attribute-with-error.rs -// ignore-stage1 #![feature(custom_inner_attributes)] diff --git a/src/test/compile-fail-fulldeps/proc-macro/attributes-included.rs b/src/test/compile-fail-fulldeps/proc-macro/attributes-included.rs index e941367b08d..e129711129a 100644 --- a/src/test/compile-fail-fulldeps/proc-macro/attributes-included.rs +++ b/src/test/compile-fail-fulldeps/proc-macro/attributes-included.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:attributes-included.rs -// ignore-stage1 // compile-pass #![warn(unused)] diff --git a/src/test/compile-fail-fulldeps/proc-macro/derive-bad.rs b/src/test/compile-fail-fulldeps/proc-macro/derive-bad.rs index 93790f59372..ac27e87ace1 100644 --- a/src/test/compile-fail-fulldeps/proc-macro/derive-bad.rs +++ b/src/test/compile-fail-fulldeps/proc-macro/derive-bad.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:derive-bad.rs -// ignore-stage1 #[macro_use] extern crate derive_bad; diff --git a/src/test/compile-fail-fulldeps/proc-macro/expand-to-unstable-2.rs b/src/test/compile-fail-fulldeps/proc-macro/expand-to-unstable-2.rs index 6f254dcbdb1..e4fcbb117a5 100644 --- a/src/test/compile-fail-fulldeps/proc-macro/expand-to-unstable-2.rs +++ b/src/test/compile-fail-fulldeps/proc-macro/expand-to-unstable-2.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:derive-unstable-2.rs -// ignore-stage1 #![allow(warnings)] diff --git a/src/test/compile-fail-fulldeps/proc-macro/expand-to-unstable.rs b/src/test/compile-fail-fulldeps/proc-macro/expand-to-unstable.rs index ca0f0e382ed..836e336fc22 100644 --- a/src/test/compile-fail-fulldeps/proc-macro/expand-to-unstable.rs +++ b/src/test/compile-fail-fulldeps/proc-macro/expand-to-unstable.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:derive-unstable.rs -// ignore-stage1 #![allow(warnings)] diff --git a/src/test/compile-fail-fulldeps/proc-macro/issue-38586.rs b/src/test/compile-fail-fulldeps/proc-macro/issue-38586.rs index 2d843d0e466..649220ac401 100644 --- a/src/test/compile-fail-fulldeps/proc-macro/issue-38586.rs +++ b/src/test/compile-fail-fulldeps/proc-macro/issue-38586.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:issue_38586.rs -// ignore-stage1 #[macro_use] extern crate issue_38586; diff --git a/src/test/compile-fail-fulldeps/proc-macro/issue-50493.rs b/src/test/compile-fail-fulldeps/proc-macro/issue-50493.rs index eaa64c6ba36..635da570497 100644 --- a/src/test/compile-fail-fulldeps/proc-macro/issue-50493.rs +++ b/src/test/compile-fail-fulldeps/proc-macro/issue-50493.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:issue_50493.rs -// ignore-stage1 #[macro_use] extern crate issue_50493; diff --git a/src/test/compile-fail-fulldeps/proc-macro/item-error.rs b/src/test/compile-fail-fulldeps/proc-macro/item-error.rs index c0d4d71a6ec..4133e75e3a6 100644 --- a/src/test/compile-fail-fulldeps/proc-macro/item-error.rs +++ b/src/test/compile-fail-fulldeps/proc-macro/item-error.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:derive-b.rs -// ignore-stage1 #![allow(warnings)] diff --git a/src/test/compile-fail-fulldeps/proc-macro/lints_in_proc_macros.rs b/src/test/compile-fail-fulldeps/proc-macro/lints_in_proc_macros.rs index 60e533d3ea8..d49c6120271 100644 --- a/src/test/compile-fail-fulldeps/proc-macro/lints_in_proc_macros.rs +++ b/src/test/compile-fail-fulldeps/proc-macro/lints_in_proc_macros.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:bang_proc_macro2.rs -// ignore-stage1 #![feature(proc_macro_hygiene)] #![allow(unused_macros)] diff --git a/src/test/compile-fail-fulldeps/proc-macro/macros-in-extern.rs b/src/test/compile-fail-fulldeps/proc-macro/macros-in-extern.rs index f280e74fc90..43d7077d022 100644 --- a/src/test/compile-fail-fulldeps/proc-macro/macros-in-extern.rs +++ b/src/test/compile-fail-fulldeps/proc-macro/macros-in-extern.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:test-macros.rs -// ignore-stage1 // ignore-wasm32 extern crate test_macros; diff --git a/src/test/compile-fail-fulldeps/proc-macro/proc-macro-attributes.rs b/src/test/compile-fail-fulldeps/proc-macro/proc-macro-attributes.rs index d0aed8b1624..6e52411500e 100644 --- a/src/test/compile-fail-fulldeps/proc-macro/proc-macro-attributes.rs +++ b/src/test/compile-fail-fulldeps/proc-macro/proc-macro-attributes.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:derive-b.rs -// ignore-stage1 #[macro_use] extern crate derive_b; diff --git a/src/test/incremental-fulldeps/incremental_proc_macro.rs b/src/test/incremental-fulldeps/incremental_proc_macro.rs index 103ee30baba..495f4ff0ed0 100644 --- a/src/test/incremental-fulldeps/incremental_proc_macro.rs +++ b/src/test/incremental-fulldeps/incremental_proc_macro.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:incremental_proc_macro_aux.rs -// ignore-stage1 // revisions: cfail1 cfail2 // compile-pass diff --git a/src/test/incremental-fulldeps/issue-49482.rs b/src/test/incremental-fulldeps/issue-49482.rs index 3261b5ae092..65e86e868bb 100644 --- a/src/test/incremental-fulldeps/issue-49482.rs +++ b/src/test/incremental-fulldeps/issue-49482.rs @@ -10,7 +10,6 @@ // aux-build:issue_49482_macro_def.rs // aux-build:issue_49482_reexport.rs -// ignore-stage1 // revisions: rpass1 extern crate issue_49482_reexport; diff --git a/src/test/incremental-fulldeps/issue-54059.rs b/src/test/incremental-fulldeps/issue-54059.rs index dee1e0abf61..2f4ea72b066 100644 --- a/src/test/incremental-fulldeps/issue-54059.rs +++ b/src/test/incremental-fulldeps/issue-54059.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:issue_54059.rs -// ignore-stage1 // ignore-wasm32-bare no libc for ffi testing // ignore-windows - dealing with weird symbols issues on dylibs isn't worth it // revisions: rpass1 diff --git a/src/test/pretty/attr-derive.rs b/src/test/pretty/attr-derive.rs index a1c581a1868..f38bf6e92eb 100644 --- a/src/test/pretty/attr-derive.rs +++ b/src/test/pretty/attr-derive.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:derive-foo.rs -// ignore-stage1 // pp-exact // Testing that both the inner item and next outer item are // preserved, and that the first outer item parsed in main is not diff --git a/src/test/run-make-fulldeps/issue-38237/Makefile b/src/test/run-make-fulldeps/issue-38237/Makefile index 855d958b344..0a681401b1a 100644 --- a/src/test/run-make-fulldeps/issue-38237/Makefile +++ b/src/test/run-make-fulldeps/issue-38237/Makefile @@ -1,11 +1,5 @@ -include ../tools.mk -ifeq ($(findstring stage1,$(RUST_BUILD_STAGE)),stage1) -# ignore stage1 -all: - -else all: $(RUSTC) foo.rs; $(RUSTC) bar.rs $(RUSTDOC) baz.rs -L $(TMPDIR) -o $(TMPDIR) -endif diff --git a/src/test/run-make-fulldeps/rustc-macro-dep-files/Makefile b/src/test/run-make-fulldeps/rustc-macro-dep-files/Makefile index d2c8e7fd043..c1e453fb721 100644 --- a/src/test/run-make-fulldeps/rustc-macro-dep-files/Makefile +++ b/src/test/run-make-fulldeps/rustc-macro-dep-files/Makefile @@ -1,12 +1,6 @@ -include ../tools.mk -ifeq ($(findstring stage1,$(RUST_BUILD_STAGE)),stage1) -# ignore stage1 -all: - -else all: $(RUSTC) foo.rs $(RUSTC) bar.rs --emit dep-info $(CGREP) -v "proc-macro source" < $(TMPDIR)/bar.d -endif diff --git a/src/test/run-pass-fulldeps/compiler-calls.rs b/src/test/run-pass-fulldeps/compiler-calls.rs index 6283d054373..e8cbf5a270e 100644 --- a/src/test/run-pass-fulldeps/compiler-calls.rs +++ b/src/test/run-pass-fulldeps/compiler-calls.rs @@ -11,6 +11,7 @@ // Test that the CompilerCalls interface to the compiler works. // ignore-cross-compile +// ignore-stage1 #![feature(rustc_private)] diff --git a/src/test/run-pass-fulldeps/macro-quote-cond.rs b/src/test/run-pass-fulldeps/macro-quote-cond.rs index d438adda151..d8e36336028 100644 --- a/src/test/run-pass-fulldeps/macro-quote-cond.rs +++ b/src/test/run-pass-fulldeps/macro-quote-cond.rs @@ -10,7 +10,6 @@ #![allow(unused_parens)] // aux-build:cond_plugin.rs -// ignore-stage1 #![feature(proc_macro_hygiene)] diff --git a/src/test/run-pass-fulldeps/macro-quote-test.rs b/src/test/run-pass-fulldeps/macro-quote-test.rs index f967ef56bb8..473f92f7b74 100644 --- a/src/test/run-pass-fulldeps/macro-quote-test.rs +++ b/src/test/run-pass-fulldeps/macro-quote-test.rs @@ -11,7 +11,6 @@ // Test that a macro can emit delimiters with nothing inside - `()`, `{}` // aux-build:hello_macro.rs -// ignore-stage1 #![feature(proc_macro_hygiene)] diff --git a/src/test/run-pass-fulldeps/proc-macro/add-impl.rs b/src/test/run-pass-fulldeps/proc-macro/add-impl.rs index 5175fe174a9..7ea7ceafc28 100644 --- a/src/test/run-pass-fulldeps/proc-macro/add-impl.rs +++ b/src/test/run-pass-fulldeps/proc-macro/add-impl.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:add-impl.rs -// ignore-stage1 #[macro_use] extern crate add_impl; diff --git a/src/test/run-pass-fulldeps/proc-macro/append-impl.rs b/src/test/run-pass-fulldeps/proc-macro/append-impl.rs index 37aef7ef131..591f3331d28 100644 --- a/src/test/run-pass-fulldeps/proc-macro/append-impl.rs +++ b/src/test/run-pass-fulldeps/proc-macro/append-impl.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:append-impl.rs -// ignore-stage1 #![allow(warnings)] diff --git a/src/test/run-pass-fulldeps/proc-macro/attr-args.rs b/src/test/run-pass-fulldeps/proc-macro/attr-args.rs index effb3ad5189..b2ee5c2a20a 100644 --- a/src/test/run-pass-fulldeps/proc-macro/attr-args.rs +++ b/src/test/run-pass-fulldeps/proc-macro/attr-args.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:attr-args.rs -// ignore-stage1 #![allow(warnings)] diff --git a/src/test/run-pass-fulldeps/proc-macro/attr-cfg.rs b/src/test/run-pass-fulldeps/proc-macro/attr-cfg.rs index 1a9d9b9ee62..58ffd0ce8b0 100644 --- a/src/test/run-pass-fulldeps/proc-macro/attr-cfg.rs +++ b/src/test/run-pass-fulldeps/proc-macro/attr-cfg.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:attr-cfg.rs -// ignore-stage1 // revisions: foo bar extern crate attr_cfg; diff --git a/src/test/run-pass-fulldeps/proc-macro/attr-on-trait.rs b/src/test/run-pass-fulldeps/proc-macro/attr-on-trait.rs index 698a0eca173..383c193ddb4 100644 --- a/src/test/run-pass-fulldeps/proc-macro/attr-on-trait.rs +++ b/src/test/run-pass-fulldeps/proc-macro/attr-on-trait.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:attr-on-trait.rs -// ignore-stage1 extern crate attr_on_trait; diff --git a/src/test/run-pass-fulldeps/proc-macro/attr-stmt-expr.rs b/src/test/run-pass-fulldeps/proc-macro/attr-stmt-expr.rs index 8a3452f24d2..43a5695f1b7 100644 --- a/src/test/run-pass-fulldeps/proc-macro/attr-stmt-expr.rs +++ b/src/test/run-pass-fulldeps/proc-macro/attr-stmt-expr.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:attr-stmt-expr.rs -// ignore-stage1 #![feature(stmt_expr_attributes, proc_macro_hygiene)] diff --git a/src/test/run-pass-fulldeps/proc-macro/bang-macro.rs b/src/test/run-pass-fulldeps/proc-macro/bang-macro.rs index 10fe0155555..f433bc64c6e 100644 --- a/src/test/run-pass-fulldeps/proc-macro/bang-macro.rs +++ b/src/test/run-pass-fulldeps/proc-macro/bang-macro.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:bang-macro.rs -// ignore-stage1 #![feature(proc_macro_hygiene)] diff --git a/src/test/run-pass-fulldeps/proc-macro/call-site.rs b/src/test/run-pass-fulldeps/proc-macro/call-site.rs index b27c806f047..ccbf33cc73b 100644 --- a/src/test/run-pass-fulldeps/proc-macro/call-site.rs +++ b/src/test/run-pass-fulldeps/proc-macro/call-site.rs @@ -11,7 +11,6 @@ #![allow(unused_variables)] #![allow(unused_imports)] // aux-build:call-site.rs -// ignore-stage1 #![feature(proc_macro_hygiene)] diff --git a/src/test/run-pass-fulldeps/proc-macro/count_compound_ops.rs b/src/test/run-pass-fulldeps/proc-macro/count_compound_ops.rs index 07ad4f288d8..46a5906e46a 100644 --- a/src/test/run-pass-fulldeps/proc-macro/count_compound_ops.rs +++ b/src/test/run-pass-fulldeps/proc-macro/count_compound_ops.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:count_compound_ops.rs -// ignore-stage1 #![feature(proc_macro_hygiene)] diff --git a/src/test/run-pass-fulldeps/proc-macro/crate-var.rs b/src/test/run-pass-fulldeps/proc-macro/crate-var.rs index 41c15195bc8..00b467ad1c9 100644 --- a/src/test/run-pass-fulldeps/proc-macro/crate-var.rs +++ b/src/test/run-pass-fulldeps/proc-macro/crate-var.rs @@ -10,7 +10,6 @@ // aux-build:double.rs // aux-build:external-crate-var.rs -// ignore-stage1 #![allow(unused)] diff --git a/src/test/run-pass-fulldeps/proc-macro/derive-attr-cfg.rs b/src/test/run-pass-fulldeps/proc-macro/derive-attr-cfg.rs index e7e8b3d665e..f804042374d 100644 --- a/src/test/run-pass-fulldeps/proc-macro/derive-attr-cfg.rs +++ b/src/test/run-pass-fulldeps/proc-macro/derive-attr-cfg.rs @@ -10,7 +10,6 @@ #![allow(dead_code)] // aux-build:derive-attr-cfg.rs -// ignore-stage1 extern crate derive_attr_cfg; use derive_attr_cfg::Foo; diff --git a/src/test/run-pass-fulldeps/proc-macro/derive-b.rs b/src/test/run-pass-fulldeps/proc-macro/derive-b.rs index ac9eca38226..60a6cf7662d 100644 --- a/src/test/run-pass-fulldeps/proc-macro/derive-b.rs +++ b/src/test/run-pass-fulldeps/proc-macro/derive-b.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:derive-b.rs -// ignore-stage1 #![feature(unrestricted_attribute_tokens)] diff --git a/src/test/run-pass-fulldeps/proc-macro/derive-same-struct.rs b/src/test/run-pass-fulldeps/proc-macro/derive-same-struct.rs index 64ad57107c7..7aff32e16ce 100644 --- a/src/test/run-pass-fulldeps/proc-macro/derive-same-struct.rs +++ b/src/test/run-pass-fulldeps/proc-macro/derive-same-struct.rs @@ -11,7 +11,6 @@ #![allow(path_statements)] #![allow(dead_code)] // aux-build:derive-same-struct.rs -// ignore-stage1 #[macro_use] extern crate derive_same_struct; diff --git a/src/test/run-pass-fulldeps/proc-macro/derive-union.rs b/src/test/run-pass-fulldeps/proc-macro/derive-union.rs index 298a652aacc..2aae1d8635f 100644 --- a/src/test/run-pass-fulldeps/proc-macro/derive-union.rs +++ b/src/test/run-pass-fulldeps/proc-macro/derive-union.rs @@ -10,7 +10,6 @@ #![allow(unused_variables)] // aux-build:derive-union.rs -// ignore-stage1 #[macro_use] extern crate derive_union; diff --git a/src/test/run-pass-fulldeps/proc-macro/empty-crate.rs b/src/test/run-pass-fulldeps/proc-macro/empty-crate.rs index 2b0a57dafef..1a0c0506112 100644 --- a/src/test/run-pass-fulldeps/proc-macro/empty-crate.rs +++ b/src/test/run-pass-fulldeps/proc-macro/empty-crate.rs @@ -10,7 +10,6 @@ #![allow(unused_imports)] // aux-build:empty-crate.rs -// ignore-stage1 #[macro_use] extern crate empty_crate; diff --git a/src/test/run-pass-fulldeps/proc-macro/expand-with-a-macro.rs b/src/test/run-pass-fulldeps/proc-macro/expand-with-a-macro.rs index 4ccd4615fb6..6a0669c4bb2 100644 --- a/src/test/run-pass-fulldeps/proc-macro/expand-with-a-macro.rs +++ b/src/test/run-pass-fulldeps/proc-macro/expand-with-a-macro.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:expand-with-a-macro.rs -// ignore-stage1 #![deny(warnings)] diff --git a/src/test/run-pass-fulldeps/proc-macro/hygiene_example.rs b/src/test/run-pass-fulldeps/proc-macro/hygiene_example.rs index cf18bb247c7..41857fde269 100644 --- a/src/test/run-pass-fulldeps/proc-macro/hygiene_example.rs +++ b/src/test/run-pass-fulldeps/proc-macro/hygiene_example.rs @@ -11,7 +11,6 @@ #![allow(unused_macros)] // aux-build:hygiene_example_codegen.rs // aux-build:hygiene_example.rs -// ignore-stage1 #![feature(proc_macro_hygiene)] diff --git a/src/test/run-pass-fulldeps/proc-macro/issue-39889.rs b/src/test/run-pass-fulldeps/proc-macro/issue-39889.rs index f7221092601..99500a77f09 100644 --- a/src/test/run-pass-fulldeps/proc-macro/issue-39889.rs +++ b/src/test/run-pass-fulldeps/proc-macro/issue-39889.rs @@ -10,7 +10,6 @@ #![allow(dead_code)] // aux-build:issue-39889.rs -// ignore-stage1 extern crate issue_39889; use issue_39889::Issue39889; diff --git a/src/test/run-pass-fulldeps/proc-macro/issue-42708.rs b/src/test/run-pass-fulldeps/proc-macro/issue-42708.rs index 7bbdbc6505d..8f9c8723953 100644 --- a/src/test/run-pass-fulldeps/proc-macro/issue-42708.rs +++ b/src/test/run-pass-fulldeps/proc-macro/issue-42708.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:issue-42708.rs -// ignore-stage1 #![feature(decl_macro)] #![allow(unused)] diff --git a/src/test/run-pass-fulldeps/proc-macro/issue-50061.rs b/src/test/run-pass-fulldeps/proc-macro/issue-50061.rs index 04659166575..1a751161a44 100644 --- a/src/test/run-pass-fulldeps/proc-macro/issue-50061.rs +++ b/src/test/run-pass-fulldeps/proc-macro/issue-50061.rs @@ -10,7 +10,6 @@ #![allow(path_statements)] // aux-build:issue-50061.rs -// ignore-stage1 #![feature(decl_macro)] diff --git a/src/test/run-pass-fulldeps/proc-macro/lifetimes.rs b/src/test/run-pass-fulldeps/proc-macro/lifetimes.rs index 79d6d27dc59..7cd234df650 100644 --- a/src/test/run-pass-fulldeps/proc-macro/lifetimes.rs +++ b/src/test/run-pass-fulldeps/proc-macro/lifetimes.rs @@ -10,7 +10,6 @@ #![allow(unused_variables)] // aux-build:lifetimes.rs -// ignore-stage1 extern crate lifetimes; use lifetimes::*; diff --git a/src/test/run-pass-fulldeps/proc-macro/load-two.rs b/src/test/run-pass-fulldeps/proc-macro/load-two.rs index cf1e076f270..319e99d4e44 100644 --- a/src/test/run-pass-fulldeps/proc-macro/load-two.rs +++ b/src/test/run-pass-fulldeps/proc-macro/load-two.rs @@ -12,7 +12,6 @@ #![allow(dead_code)] // aux-build:derive-atob.rs // aux-build:derive-ctod.rs -// ignore-stage1 #[macro_use] extern crate derive_atob; diff --git a/src/test/run-pass-fulldeps/proc-macro/macros-in-extern.rs b/src/test/run-pass-fulldeps/proc-macro/macros-in-extern.rs index bd76cc38054..ce62cabf281 100644 --- a/src/test/run-pass-fulldeps/proc-macro/macros-in-extern.rs +++ b/src/test/run-pass-fulldeps/proc-macro/macros-in-extern.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:test-macros.rs -// ignore-stage1 // ignore-wasm32 #![feature(macros_in_extern)] diff --git a/src/test/run-pass-fulldeps/proc-macro/negative-token.rs b/src/test/run-pass-fulldeps/proc-macro/negative-token.rs index ccd729badeb..f953ba8df7e 100644 --- a/src/test/run-pass-fulldeps/proc-macro/negative-token.rs +++ b/src/test/run-pass-fulldeps/proc-macro/negative-token.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:negative-token.rs -// ignore-stage1 #![feature(proc_macro_hygiene)] diff --git a/src/test/run-pass-fulldeps/proc-macro/smoke.rs b/src/test/run-pass-fulldeps/proc-macro/smoke.rs index 49011e19a51..ba0cd3b398d 100644 --- a/src/test/run-pass-fulldeps/proc-macro/smoke.rs +++ b/src/test/run-pass-fulldeps/proc-macro/smoke.rs @@ -11,7 +11,6 @@ #![allow(unused_must_use)] #![allow(path_statements)] // aux-build:derive-a.rs -// ignore-stage1 #[macro_use] extern crate derive_a; diff --git a/src/test/run-pass-fulldeps/proc-macro/struct-field-macro.rs b/src/test/run-pass-fulldeps/proc-macro/struct-field-macro.rs index db52aa5d3a6..b1ac8038fa2 100644 --- a/src/test/run-pass-fulldeps/proc-macro/struct-field-macro.rs +++ b/src/test/run-pass-fulldeps/proc-macro/struct-field-macro.rs @@ -10,7 +10,6 @@ #![allow(dead_code)] // aux-build:derive-nothing.rs -// ignore-stage1 #[macro_use] extern crate derive_nothing; diff --git a/src/test/run-pass-fulldeps/proc_macro.rs b/src/test/run-pass-fulldeps/proc_macro.rs index 27e0c23561f..e14ceca8e42 100644 --- a/src/test/run-pass-fulldeps/proc_macro.rs +++ b/src/test/run-pass-fulldeps/proc_macro.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:proc_macro_def.rs -// ignore-stage1 // ignore-cross-compile #![feature(proc_macro_hygiene)] diff --git a/src/test/rustdoc/doc-proc-macro.rs b/src/test/rustdoc/doc-proc-macro.rs index 01a4a410b03..b3b403a7b86 100644 --- a/src/test/rustdoc/doc-proc-macro.rs +++ b/src/test/rustdoc/doc-proc-macro.rs @@ -8,8 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// ignore-stage1 - // Issue #52129: ICE when trying to document the `quote` proc-macro from proc_macro // As of this writing, we don't currently attempt to document proc-macros. However, we shouldn't diff --git a/src/test/rustdoc/inline_cross/proc_macro.rs b/src/test/rustdoc/inline_cross/proc_macro.rs index a879258f82a..c259e9cdaac 100644 --- a/src/test/rustdoc/inline_cross/proc_macro.rs +++ b/src/test/rustdoc/inline_cross/proc_macro.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// ignore-stage1 // aux-build:proc_macro.rs // build-aux-docs diff --git a/src/test/rustdoc/proc-macro.rs b/src/test/rustdoc/proc-macro.rs index bfd194701c8..1b3b3c6bb14 100644 --- a/src/test/rustdoc/proc-macro.rs +++ b/src/test/rustdoc/proc-macro.rs @@ -8,8 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// ignore-stage1 - #![crate_type="proc-macro"] #![crate_name="some_macros"] diff --git a/src/test/rustdoc/rustc-macro-crate.rs b/src/test/rustdoc/rustc-macro-crate.rs index d46f9684411..dc28732b55e 100644 --- a/src/test/rustdoc/rustc-macro-crate.rs +++ b/src/test/rustdoc/rustc-macro-crate.rs @@ -9,7 +9,6 @@ // except according to those terms. // no-prefer-dynamic -// ignore-stage1 #![crate_type = "proc-macro"] diff --git a/src/test/ui-fulldeps/custom-derive/helper-attr-blocked-by-import-ambig.rs b/src/test/ui-fulldeps/custom-derive/helper-attr-blocked-by-import-ambig.rs index b750a8bb0d9..ba072ba3568 100644 --- a/src/test/ui-fulldeps/custom-derive/helper-attr-blocked-by-import-ambig.rs +++ b/src/test/ui-fulldeps/custom-derive/helper-attr-blocked-by-import-ambig.rs @@ -1,5 +1,4 @@ // aux-build:plugin.rs -// ignore-stage1 #[macro_use(WithHelper)] extern crate plugin; diff --git a/src/test/ui-fulldeps/custom-derive/helper-attr-blocked-by-import-ambig.stderr b/src/test/ui-fulldeps/custom-derive/helper-attr-blocked-by-import-ambig.stderr index d288d729512..2c9d226cc9e 100644 --- a/src/test/ui-fulldeps/custom-derive/helper-attr-blocked-by-import-ambig.stderr +++ b/src/test/ui-fulldeps/custom-derive/helper-attr-blocked-by-import-ambig.stderr @@ -1,16 +1,16 @@ error[E0659]: `helper` is ambiguous (derive helper attribute vs any other name) - --> $DIR/helper-attr-blocked-by-import-ambig.rs:10:3 + --> $DIR/helper-attr-blocked-by-import-ambig.rs:9:3 | LL | #[helper] //~ ERROR `helper` is ambiguous | ^^^^^^ ambiguous name | note: `helper` could refer to the derive helper attribute defined here - --> $DIR/helper-attr-blocked-by-import-ambig.rs:9:10 + --> $DIR/helper-attr-blocked-by-import-ambig.rs:8:10 | LL | #[derive(WithHelper)] | ^^^^^^^^^^ note: `helper` could also refer to the attribute macro imported here - --> $DIR/helper-attr-blocked-by-import-ambig.rs:7:5 + --> $DIR/helper-attr-blocked-by-import-ambig.rs:6:5 | LL | use plugin::helper; | ^^^^^^^^^^^^^^ diff --git a/src/test/ui-fulldeps/custom-derive/helper-attr-blocked-by-import.rs b/src/test/ui-fulldeps/custom-derive/helper-attr-blocked-by-import.rs index 03b774f6c64..abbf014f553 100644 --- a/src/test/ui-fulldeps/custom-derive/helper-attr-blocked-by-import.rs +++ b/src/test/ui-fulldeps/custom-derive/helper-attr-blocked-by-import.rs @@ -1,6 +1,5 @@ // compile-pass // aux-build:plugin.rs -// ignore-stage1 #[macro_use(WithHelper)] extern crate plugin; diff --git a/src/test/ui-fulldeps/custom-derive/issue-36935.rs b/src/test/ui-fulldeps/custom-derive/issue-36935.rs index 5ec79a55200..92c47eba9ad 100644 --- a/src/test/ui-fulldeps/custom-derive/issue-36935.rs +++ b/src/test/ui-fulldeps/custom-derive/issue-36935.rs @@ -9,7 +9,7 @@ // except according to those terms. // aux-build:plugin.rs -// ignore-stage1 + #[macro_use] extern crate plugin; diff --git a/src/test/ui-fulldeps/proc-macro/multispan.rs b/src/test/ui-fulldeps/proc-macro/multispan.rs index 63a95ce211d..03067868a81 100644 --- a/src/test/ui-fulldeps/proc-macro/multispan.rs +++ b/src/test/ui-fulldeps/proc-macro/multispan.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:multispan.rs -// ignore-stage1 #![feature(proc_macro_hygiene)] diff --git a/src/test/ui-fulldeps/proc-macro/multispan.stderr b/src/test/ui-fulldeps/proc-macro/multispan.stderr index 267313ef5ae..39bdbb5e450 100644 --- a/src/test/ui-fulldeps/proc-macro/multispan.stderr +++ b/src/test/ui-fulldeps/proc-macro/multispan.stderr @@ -1,83 +1,83 @@ error: hello to you, too! - --> $DIR/multispan.rs:25:5 + --> $DIR/multispan.rs:24:5 | LL | hello!(hi); //~ ERROR hello to you, too! | ^^^^^^^^^^^ | note: found these 'hi's - --> $DIR/multispan.rs:25:12 + --> $DIR/multispan.rs:24:12 | LL | hello!(hi); //~ ERROR hello to you, too! | ^^ error: hello to you, too! - --> $DIR/multispan.rs:28:5 + --> $DIR/multispan.rs:27:5 | LL | hello!(hi hi); //~ ERROR hello to you, too! | ^^^^^^^^^^^^^^ | note: found these 'hi's - --> $DIR/multispan.rs:28:12 + --> $DIR/multispan.rs:27:12 | LL | hello!(hi hi); //~ ERROR hello to you, too! | ^^ ^^ error: hello to you, too! - --> $DIR/multispan.rs:31:5 + --> $DIR/multispan.rs:30:5 | LL | hello!(hi hi hi); //~ ERROR hello to you, too! | ^^^^^^^^^^^^^^^^^ | note: found these 'hi's - --> $DIR/multispan.rs:31:12 + --> $DIR/multispan.rs:30:12 | LL | hello!(hi hi hi); //~ ERROR hello to you, too! | ^^ ^^ ^^ error: hello to you, too! - --> $DIR/multispan.rs:34:5 + --> $DIR/multispan.rs:33:5 | LL | hello!(hi hey hi yo hi beep beep hi hi); //~ ERROR hello to you, too! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: found these 'hi's - --> $DIR/multispan.rs:34:12 + --> $DIR/multispan.rs:33:12 | LL | hello!(hi hey hi yo hi beep beep hi hi); //~ ERROR hello to you, too! | ^^ ^^ ^^ ^^ ^^ error: hello to you, too! - --> $DIR/multispan.rs:35:5 + --> $DIR/multispan.rs:34:5 | LL | hello!(hi there, hi how are you? hi... hi.); //~ ERROR hello to you, too! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: found these 'hi's - --> $DIR/multispan.rs:35:12 + --> $DIR/multispan.rs:34:12 | LL | hello!(hi there, hi how are you? hi... hi.); //~ ERROR hello to you, too! | ^^ ^^ ^^ ^^ error: hello to you, too! - --> $DIR/multispan.rs:36:5 + --> $DIR/multispan.rs:35:5 | LL | hello!(whoah. hi di hi di ho); //~ ERROR hello to you, too! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: found these 'hi's - --> $DIR/multispan.rs:36:19 + --> $DIR/multispan.rs:35:19 | LL | hello!(whoah. hi di hi di ho); //~ ERROR hello to you, too! | ^^ ^^ error: hello to you, too! - --> $DIR/multispan.rs:37:5 + --> $DIR/multispan.rs:36:5 | LL | hello!(hi good hi and good bye); //~ ERROR hello to you, too! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: found these 'hi's - --> $DIR/multispan.rs:37:12 + --> $DIR/multispan.rs:36:12 | LL | hello!(hi good hi and good bye); //~ ERROR hello to you, too! | ^^ ^^ diff --git a/src/test/ui-fulldeps/proc-macro/parent-source-spans.rs b/src/test/ui-fulldeps/proc-macro/parent-source-spans.rs index 7c30a8e328a..8f8e22ba1c3 100644 --- a/src/test/ui-fulldeps/proc-macro/parent-source-spans.rs +++ b/src/test/ui-fulldeps/proc-macro/parent-source-spans.rs @@ -9,7 +9,7 @@ // except according to those terms. // aux-build:parent-source-spans.rs -// ignore-stage1 + #![feature(decl_macro, proc_macro_hygiene)] diff --git a/src/test/ui-fulldeps/proc-macro/three-equals.rs b/src/test/ui-fulldeps/proc-macro/three-equals.rs index dd81b1017eb..e3285d3e821 100644 --- a/src/test/ui-fulldeps/proc-macro/three-equals.rs +++ b/src/test/ui-fulldeps/proc-macro/three-equals.rs @@ -9,7 +9,7 @@ // except according to those terms. // aux-build:three-equals.rs -// ignore-stage1 + #![feature(proc_macro_hygiene)] diff --git a/src/test/ui-fulldeps/subspan.rs b/src/test/ui-fulldeps/subspan.rs index 437123ca479..dccf6e20448 100644 --- a/src/test/ui-fulldeps/subspan.rs +++ b/src/test/ui-fulldeps/subspan.rs @@ -9,7 +9,6 @@ // except according to those terms. // aux-build:subspan.rs -// ignore-stage1 extern crate subspan; diff --git a/src/test/ui-fulldeps/subspan.stderr b/src/test/ui-fulldeps/subspan.stderr index 4d3928cae72..d9339bdaf76 100644 --- a/src/test/ui-fulldeps/subspan.stderr +++ b/src/test/ui-fulldeps/subspan.stderr @@ -1,95 +1,95 @@ error: found 'hi's - --> $DIR/subspan.rs:22:1 + --> $DIR/subspan.rs:21:1 | LL | subspan!("hi"); //~ ERROR found 'hi's | ^^^^^^^^^^^^^^^ | note: here - --> $DIR/subspan.rs:22:11 + --> $DIR/subspan.rs:21:11 | LL | subspan!("hi"); //~ ERROR found 'hi's | ^^ error: found 'hi's - --> $DIR/subspan.rs:25:1 + --> $DIR/subspan.rs:24:1 | LL | subspan!("hihi"); //~ ERROR found 'hi's | ^^^^^^^^^^^^^^^^^ | note: here - --> $DIR/subspan.rs:25:11 + --> $DIR/subspan.rs:24:11 | LL | subspan!("hihi"); //~ ERROR found 'hi's | ^^^^ error: found 'hi's - --> $DIR/subspan.rs:28:1 + --> $DIR/subspan.rs:27:1 | LL | subspan!("hihihi"); //~ ERROR found 'hi's | ^^^^^^^^^^^^^^^^^^^ | note: here - --> $DIR/subspan.rs:28:11 + --> $DIR/subspan.rs:27:11 | LL | subspan!("hihihi"); //~ ERROR found 'hi's | ^^^^^^ error: found 'hi's - --> $DIR/subspan.rs:31:1 + --> $DIR/subspan.rs:30:1 | LL | subspan!("why I hide? hi!"); //~ ERROR found 'hi's | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: here - --> $DIR/subspan.rs:31:17 + --> $DIR/subspan.rs:30:17 | LL | subspan!("why I hide? hi!"); //~ ERROR found 'hi's | ^^ ^^ error: found 'hi's - --> $DIR/subspan.rs:32:1 + --> $DIR/subspan.rs:31:1 | LL | subspan!("hey, hi, hidy, hidy, hi hi"); //~ ERROR found 'hi's | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: here - --> $DIR/subspan.rs:32:16 + --> $DIR/subspan.rs:31:16 | LL | subspan!("hey, hi, hidy, hidy, hi hi"); //~ ERROR found 'hi's | ^^ ^^ ^^ ^^ ^^ error: found 'hi's - --> $DIR/subspan.rs:33:1 + --> $DIR/subspan.rs:32:1 | LL | subspan!("this is a hi, and this is another hi"); //~ ERROR found 'hi's | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: here - --> $DIR/subspan.rs:33:12 + --> $DIR/subspan.rs:32:12 | LL | subspan!("this is a hi, and this is another hi"); //~ ERROR found 'hi's | ^^ ^^ ^^ ^^ error: found 'hi's - --> $DIR/subspan.rs:34:1 + --> $DIR/subspan.rs:33:1 | LL | subspan!("how are you this evening"); //~ ERROR found 'hi's | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: here - --> $DIR/subspan.rs:34:24 + --> $DIR/subspan.rs:33:24 | LL | subspan!("how are you this evening"); //~ ERROR found 'hi's | ^^ error: found 'hi's - --> $DIR/subspan.rs:35:1 + --> $DIR/subspan.rs:34:1 | LL | subspan!("this is highly eradic"); //~ ERROR found 'hi's | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: here - --> $DIR/subspan.rs:35:12 + --> $DIR/subspan.rs:34:12 | LL | subspan!("this is highly eradic"); //~ ERROR found 'hi's | ^^ ^^