diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-02-18 14:31:23 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-02-18 14:31:23 -0800 |
| commit | c5fddd81ab47ddbfd5525210fb1536472de399b8 (patch) | |
| tree | 5c22af3b7fc0e1da11486d1739d5c8e5ad734e35 | |
| parent | fa30c4f147865bea8a8b4c652827330f7f011ebd (diff) | |
| parent | 6824f1365d2d1dc967c92bec11c44920bbf3da68 (diff) | |
| download | rust-c5fddd81ab47ddbfd5525210fb1536472de399b8.tar.gz rust-c5fddd81ab47ddbfd5525210fb1536472de399b8.zip | |
rollup merge of #22118: fhahn/separate-parse-fail-2
After making `rustc` fail on errors at a stop point, like `-Z parse-only`, in #22117, the files in this PR also fail during the parse stage and should be moved as well. Sorry for spliting this move up in two PRs.
| -rwxr-xr-x | configure | 1 | ||||
| -rw-r--r-- | mk/tests.mk | 17 | ||||
| -rw-r--r-- | src/compiletest/common.rs | 3 | ||||
| -rw-r--r-- | src/compiletest/compiletest.rs | 2 | ||||
| -rw-r--r-- | src/compiletest/runtest.rs | 5 | ||||
| -rw-r--r-- | src/test/compile-fail/mod_file_disambig.rs (renamed from src/test/parse-fail/mod_file_disambig.rs) | 0 | ||||
| -rw-r--r-- | src/test/compile-fail/mod_file_not_owning.rs (renamed from src/test/parse-fail/mod_file_not_owning.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/ascii-only-character-escape.rs (renamed from src/test/compile-fail/ascii-only-character-escape.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/attr-before-eof.rs (renamed from src/test/compile-fail/attr-before-eof.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/attr-before-ext.rs (renamed from src/test/compile-fail/attr-before-ext.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/attr-before-let.rs (renamed from src/test/compile-fail/attr-before-let.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/attr-before-stmt.rs (renamed from src/test/compile-fail/attr-before-stmt.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/attr-dangling-in-fn.rs (renamed from src/test/compile-fail/attr-dangling-in-fn.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/attr-dangling-in-mod.rs (renamed from src/test/compile-fail/attr-dangling-in-mod.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/attr.rs (renamed from src/test/compile-fail/attr.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/attrs-after-extern-mod.rs (renamed from src/test/compile-fail/attrs-after-extern-mod.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/bad-char-literals.rs (renamed from src/test/compile-fail/bad-char-literals.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/bad-lit-suffixes.rs (renamed from src/test/compile-fail/bad-lit-suffixes.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/bad-value-ident-false.rs (renamed from src/test/compile-fail/bad-value-ident-false.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/bad-value-ident-true.rs (renamed from src/test/compile-fail/bad-value-ident-true.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/doc-before-attr.rs (renamed from src/test/compile-fail/doc-before-attr.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/doc-before-eof.rs (renamed from src/test/compile-fail/doc-before-eof.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/doc-before-extern-rbrace.rs (renamed from src/test/compile-fail/doc-before-extern-rbrace.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/doc-before-macro.rs (renamed from src/test/compile-fail/doc-before-macro.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/doc-before-rbrace.rs (renamed from src/test/compile-fail/doc-before-rbrace.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/doc-before-semi.rs (renamed from src/test/compile-fail/doc-before-semi.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/extern-crate-as-no-string-help.rs (renamed from src/test/compile-fail/extern-crate-as-no-string-help.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/generic-non-trailing-defaults.rs (renamed from src/test/compile-fail/generic-non-trailing-defaults.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/int-literal-too-large-span.rs (renamed from src/test/compile-fail/int-literal-too-large-span.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/issue-10412.rs (renamed from src/test/compile-fail/issue-10412.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/issue-12560-1.rs (renamed from src/test/compile-fail/issue-12560-1.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/issue-14182.rs (renamed from src/test/compile-fail/issue-14182.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/issue-17383.rs (renamed from src/test/compile-fail/issue-17383.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/issue-17718-const-mut.rs (renamed from src/test/compile-fail/issue-17718-const-mut.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/issue-1802-2.rs (renamed from src/test/compile-fail/issue-1802-2.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/issue-5544-a.rs (renamed from src/test/compile-fail/issue-5544-a.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/issue-5544-b.rs (renamed from src/test/compile-fail/issue-5544-b.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/issue-8537.rs (renamed from src/test/compile-fail/issue-8537.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/keyword-as-as-identifier.rs (renamed from src/test/compile-fail/keyword-as-as-identifier.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/keyword-break-as-identifier.rs (renamed from src/test/compile-fail/keyword-break-as-identifier.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/keyword-else-as-identifier.rs (renamed from src/test/compile-fail/keyword-else-as-identifier.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/keyword-enum-as-identifier.rs (renamed from src/test/compile-fail/keyword-enum-as-identifier.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/keyword-extern-as-identifier.rs (renamed from src/test/compile-fail/keyword-extern-as-identifier.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/keyword-fn-as-identifier.rs (renamed from src/test/compile-fail/keyword-fn-as-identifier.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/keyword-for-as-identifier.rs (renamed from src/test/compile-fail/keyword-for-as-identifier.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/keyword-if-as-identifier.rs (renamed from src/test/compile-fail/keyword-if-as-identifier.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/keyword-impl-as-identifier.rs (renamed from src/test/compile-fail/keyword-impl-as-identifier.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/keyword-let-as-identifier.rs (renamed from src/test/compile-fail/keyword-let-as-identifier.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/keyword-loop-as-identifier.rs (renamed from src/test/compile-fail/keyword-loop-as-identifier.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/keyword-match-as-identifier.rs (renamed from src/test/compile-fail/keyword-match-as-identifier.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/keyword-mod-as-identifier.rs (renamed from src/test/compile-fail/keyword-mod-as-identifier.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/keyword-pub-as-identifier.rs (renamed from src/test/compile-fail/keyword-pub-as-identifier.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/keyword-return-as-identifier.rs (renamed from src/test/compile-fail/keyword-return-as-identifier.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/keyword-self-as-identifier.rs (renamed from src/test/compile-fail/keyword-self-as-identifier.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/keyword-static-as-identifier.rs (renamed from src/test/compile-fail/keyword-static-as-identifier.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/keyword-struct-as-identifier.rs (renamed from src/test/compile-fail/keyword-struct-as-identifier.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/keyword-super-as-identifier.rs (renamed from src/test/compile-fail/keyword-super-as-identifier.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/keyword-super.rs (renamed from src/test/compile-fail/keyword-super.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/keyword-trait-as-identifier.rs (renamed from src/test/compile-fail/keyword-trait-as-identifier.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/keyword-type-as-identifier.rs (renamed from src/test/compile-fail/keyword-type-as-identifier.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/keyword-unsafe-as-identifier.rs (renamed from src/test/compile-fail/keyword-unsafe-as-identifier.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/keyword-use-as-identifier.rs (renamed from src/test/compile-fail/keyword-use-as-identifier.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/keyword-while-as-identifier.rs (renamed from src/test/compile-fail/keyword-while-as-identifier.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/keyword.rs (renamed from src/test/compile-fail/keyword.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/keywords-followed-by-double-colon.rs (renamed from src/test/compile-fail/keywords-followed-by-double-colon.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/lex-bad-numeric-literals.rs (renamed from src/test/compile-fail/lex-bad-numeric-literals.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/lex-bare-cr-string-literal-doc-comment.rs (renamed from src/test/compile-fail/lex-bare-cr-string-literal-doc-comment.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/lifetime-no-keyword.rs (renamed from src/test/compile-fail/lifetime-no-keyword.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/lifetime-obsoleted-self.rs (renamed from src/test/compile-fail/lifetime-obsoleted-self.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/macros-no-semicolon-items.rs (renamed from src/test/compile-fail/macros-no-semicolon-items.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/no-binary-float-literal.rs (renamed from src/test/compile-fail/no-binary-float-literal.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/no-hex-float-literal.rs (renamed from src/test/compile-fail/no-hex-float-literal.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/no-unsafe-self.rs (renamed from src/test/compile-fail/no-unsafe-self.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/non-str-meta.rs (renamed from src/test/compile-fail/non-str-meta.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/obsolete-for-sized.rs (renamed from src/test/compile-fail/obsolete-for-sized.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/obsolete-proc.rs (renamed from src/test/compile-fail/obsolete-proc.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/qquote-1.rs (renamed from src/test/compile-fail/qquote-1.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/qquote-2.rs (renamed from src/test/compile-fail/qquote-2.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/regions-fn-bound.rs (renamed from src/test/compile-fail/regions-fn-bound.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/require-parens-for-chained-comparison.rs (renamed from src/test/compile-fail/require-parens-for-chained-comparison.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/struct-no-fields-2.rs (renamed from src/test/compile-fail/struct-no-fields-2.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/struct-no-fields-3.rs (renamed from src/test/compile-fail/struct-no-fields-3.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/struct-no-fields-4.rs (renamed from src/test/compile-fail/struct-no-fields-4.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/struct-no-fields-5.rs (renamed from src/test/compile-fail/struct-no-fields-5.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/struct-variant-no-fields.rs (renamed from src/test/compile-fail/struct-variant-no-fields.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/struct-variant-no-pub.rs (renamed from src/test/compile-fail/struct-variant-no-pub.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/syntax-trait-polarity.rs (renamed from src/test/compile-fail/syntax-trait-polarity.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/tag-variant-disr-non-nullary.rs (renamed from src/test/compile-fail/tag-variant-disr-non-nullary.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/trailing-carriage-return-in-string.rs (renamed from src/test/compile-fail/trailing-carriage-return-in-string.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/trailing-plus-in-bounds.rs (renamed from src/test/compile-fail/trailing-plus-in-bounds.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/trait-bounds-not-on-impl.rs (renamed from src/test/compile-fail/trait-bounds-not-on-impl.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/type-parameters-in-field-exprs.rs (renamed from src/test/compile-fail/type-parameters-in-field-exprs.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/unsized2.rs (renamed from src/test/compile-fail/unsized2.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/virtual-structs.rs (renamed from src/test/compile-fail/virtual-structs.rs) | 0 | ||||
| -rw-r--r-- | src/test/parse-fail/where-clauses-no-bounds-or-predicates.rs (renamed from src/test/compile-fail/where-clauses-no-bounds-or-predicates.rs) | 0 |
95 files changed, 21 insertions, 7 deletions
diff --git a/configure b/configure index ec1e741fb9c..d1b27a96f93 100755 --- a/configure +++ b/configure @@ -1056,6 +1056,7 @@ do make_dir $h/test/run-pass-fulldeps make_dir $h/test/run-fail make_dir $h/test/compile-fail + make_dir $h/test/parse-fail make_dir $h/test/compile-fail-fulldeps make_dir $h/test/bench make_dir $h/test/perf diff --git a/mk/tests.mk b/mk/tests.mk index d8597724370..692d28bfad3 100644 --- a/mk/tests.mk +++ b/mk/tests.mk @@ -174,12 +174,12 @@ check-notidy: cleantmptestlogs cleantestlibs all check-stage2 check-lite: cleantestlibs cleantmptestlogs \ $(foreach crate,$(TEST_TARGET_CRATES),check-stage2-$(crate)) \ check-stage2-rpass check-stage2-rpass-valgrind \ - check-stage2-rfail check-stage2-cfail check-stage2-rmake + check-stage2-rfail check-stage2-cfail check-stage2-pfail check-stage2-rmake $(Q)$(CFG_PYTHON) $(S)src/etc/check-summary.py tmp/*.log # Only check the 'reference' tests: rpass/cfail/rfail/rmake. check-ref: cleantestlibs cleantmptestlogs check-stage2-rpass check-stage2-rpass-valgrind \ - check-stage2-rfail check-stage2-cfail check-stage2-rmake + check-stage2-rfail check-stage2-cfail check-stage2-pfail check-stage2-rmake $(Q)$(CFG_PYTHON) $(S)src/etc/check-summary.py tmp/*.log # Only check the docs. @@ -291,6 +291,7 @@ check-stage$(1)-T-$(2)-H-$(3)-exec: \ check-stage$(1)-T-$(2)-H-$(3)-rpass-exec \ check-stage$(1)-T-$(2)-H-$(3)-rfail-exec \ check-stage$(1)-T-$(2)-H-$(3)-cfail-exec \ + check-stage$(1)-T-$(2)-H-$(3)-pfail-exec \ check-stage$(1)-T-$(2)-H-$(3)-rpass-valgrind-exec \ check-stage$(1)-T-$(2)-H-$(3)-rpass-full-exec \ check-stage$(1)-T-$(2)-H-$(3)-cfail-full-exec \ @@ -470,7 +471,8 @@ RPASS_VALGRIND_TESTS := $(RPASS_VALGRIND_RS) RPASS_FULL_TESTS := $(RPASS_FULL_RS) CFAIL_FULL_TESTS := $(CFAIL_FULL_RS) RFAIL_TESTS := $(RFAIL_RS) -CFAIL_TESTS := $(CFAIL_RS) $(PFAIL_RS) +CFAIL_TESTS := $(CFAIL_RS) +PFAIL_TESTS := $(PFAIL_RS) BENCH_TESTS := $(BENCH_RS) PERF_TESTS := $(PERF_RS) PRETTY_TESTS := $(PRETTY_RS) @@ -508,6 +510,11 @@ CTEST_BUILD_BASE_cfail = compile-fail CTEST_MODE_cfail = compile-fail CTEST_RUNTOOL_cfail = $(CTEST_RUNTOOL) +CTEST_SRC_BASE_pfail = parse-fail +CTEST_BUILD_BASE_pfail = parse-fail +CTEST_MODE_pfail = parse-fail +CTEST_RUNTOOL_pfail = $(CTEST_RUNTOOL) + CTEST_SRC_BASE_bench = bench CTEST_BUILD_BASE_bench = bench CTEST_MODE_bench = run-pass @@ -630,6 +637,7 @@ CTEST_DEPS_rpass-full_$(1)-T-$(2)-H-$(3) = $$(RPASS_FULL_TESTS) $$(CSREQ$(1)_T_$ CTEST_DEPS_cfail-full_$(1)-T-$(2)-H-$(3) = $$(CFAIL_FULL_TESTS) $$(CSREQ$(1)_T_$(3)_H_$(3)) $$(SREQ$(1)_T_$(2)_H_$(3)) CTEST_DEPS_rfail_$(1)-T-$(2)-H-$(3) = $$(RFAIL_TESTS) CTEST_DEPS_cfail_$(1)-T-$(2)-H-$(3) = $$(CFAIL_TESTS) +CTEST_DEPS_pfail_$(1)-T-$(2)-H-$(3) = $$(PFAIL_TESTS) CTEST_DEPS_bench_$(1)-T-$(2)-H-$(3) = $$(BENCH_TESTS) CTEST_DEPS_perf_$(1)-T-$(2)-H-$(3) = $$(PERF_TESTS) CTEST_DEPS_debuginfo-gdb_$(1)-T-$(2)-H-$(3) = $$(DEBUGINFO_GDB_TESTS) @@ -698,7 +706,7 @@ endif endef -CTEST_NAMES = rpass rpass-valgrind rpass-full cfail-full rfail cfail bench perf debuginfo-gdb debuginfo-lldb codegen +CTEST_NAMES = rpass rpass-valgrind rpass-full cfail-full rfail cfail pfail bench perf debuginfo-gdb debuginfo-lldb codegen $(foreach host,$(CFG_HOST), \ $(eval $(foreach target,$(CFG_TARGET), \ @@ -857,6 +865,7 @@ TEST_GROUPS = \ cfail-full \ rfail \ cfail \ + pfail \ bench \ perf \ rmake \ diff --git a/src/compiletest/common.rs b/src/compiletest/common.rs index df2981a6c83..2c046d25279 100644 --- a/src/compiletest/common.rs +++ b/src/compiletest/common.rs @@ -15,6 +15,7 @@ use std::str::FromStr; #[derive(Clone, Copy, PartialEq, Debug)] pub enum Mode { CompileFail, + ParseFail, RunFail, RunPass, RunPassValgrind, @@ -29,6 +30,7 @@ impl FromStr for Mode { fn from_str(s: &str) -> Result<Mode, ()> { match s { "compile-fail" => Ok(CompileFail), + "parse-fail" => Ok(ParseFail), "run-fail" => Ok(RunFail), "run-pass" => Ok(RunPass), "run-pass-valgrind" => Ok(RunPassValgrind), @@ -45,6 +47,7 @@ impl fmt::Display for Mode { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { fmt::Display::fmt(match *self { CompileFail => "compile-fail", + ParseFail => "parse-fail", RunFail => "run-fail", RunPass => "run-pass", RunPassValgrind => "run-pass-valgrind", diff --git a/src/compiletest/compiletest.rs b/src/compiletest/compiletest.rs index 86710d50d8a..7f80458de33 100644 --- a/src/compiletest/compiletest.rs +++ b/src/compiletest/compiletest.rs @@ -72,7 +72,7 @@ pub fn parse_config(args: Vec<String> ) -> Config { reqopt("", "aux-base", "directory to find auxiliary test files", "PATH"), reqopt("", "stage-id", "the target-stage identifier", "stageN-TARGET"), reqopt("", "mode", "which sort of compile tests to run", - "(compile-fail|run-fail|run-pass|run-pass-valgrind|pretty|debug-info)"), + "(compile-fail|parse-fail|run-fail|run-pass|run-pass-valgrind|pretty|debug-info)"), optflag("", "ignored", "run tests marked as ignored"), optopt("", "runtool", "supervisor program to run tests under \ (eg. emulator, valgrind)", "PROGRAM"), diff --git a/src/compiletest/runtest.rs b/src/compiletest/runtest.rs index 658c0cb3f4e..ce61e2fc00e 100644 --- a/src/compiletest/runtest.rs +++ b/src/compiletest/runtest.rs @@ -11,7 +11,7 @@ use self::TargetLocation::*; use common::Config; -use common::{CompileFail, Pretty, RunFail, RunPass, RunPassValgrind, DebugInfoGdb}; +use common::{CompileFail, ParseFail, Pretty, RunFail, RunPass, RunPassValgrind, DebugInfoGdb}; use common::{Codegen, DebugInfoLldb}; use errors; use header::TestProps; @@ -66,6 +66,7 @@ pub fn run_metrics(config: Config, testfile: String, mm: &mut MetricMap) { debug!("loaded props"); match config.mode { CompileFail => run_cfail_test(&config, &props, &testfile), + ParseFail => run_cfail_test(&config, &props, &testfile), RunFail => run_rfail_test(&config, &props, &testfile), RunPass => run_rpass_test(&config, &props, &testfile), RunPassValgrind => run_valgrind_test(&config, &props, &testfile), @@ -88,7 +89,7 @@ fn run_cfail_test(config: &Config, props: &TestProps, testfile: &Path) { let proc_res = compile_test(config, props, testfile); if proc_res.status.success() { - fatal_proc_rec("compile-fail test compiled successfully!", + fatal_proc_rec(&format!("{} test compiled successfully!", config.mode)[], &proc_res); } diff --git a/src/test/parse-fail/mod_file_disambig.rs b/src/test/compile-fail/mod_file_disambig.rs index 48bd00a3ee0..48bd00a3ee0 100644 --- a/src/test/parse-fail/mod_file_disambig.rs +++ b/src/test/compile-fail/mod_file_disambig.rs diff --git a/src/test/parse-fail/mod_file_not_owning.rs b/src/test/compile-fail/mod_file_not_owning.rs index adbcedd91f2..adbcedd91f2 100644 --- a/src/test/parse-fail/mod_file_not_owning.rs +++ b/src/test/compile-fail/mod_file_not_owning.rs diff --git a/src/test/compile-fail/ascii-only-character-escape.rs b/src/test/parse-fail/ascii-only-character-escape.rs index 1ba25a827a5..1ba25a827a5 100644 --- a/src/test/compile-fail/ascii-only-character-escape.rs +++ b/src/test/parse-fail/ascii-only-character-escape.rs diff --git a/src/test/compile-fail/attr-before-eof.rs b/src/test/parse-fail/attr-before-eof.rs index e34756229bd..e34756229bd 100644 --- a/src/test/compile-fail/attr-before-eof.rs +++ b/src/test/parse-fail/attr-before-eof.rs diff --git a/src/test/compile-fail/attr-before-ext.rs b/src/test/parse-fail/attr-before-ext.rs index 098c5aaec54..098c5aaec54 100644 --- a/src/test/compile-fail/attr-before-ext.rs +++ b/src/test/parse-fail/attr-before-ext.rs diff --git a/src/test/compile-fail/attr-before-let.rs b/src/test/parse-fail/attr-before-let.rs index acc9aa8a9a1..acc9aa8a9a1 100644 --- a/src/test/compile-fail/attr-before-let.rs +++ b/src/test/parse-fail/attr-before-let.rs diff --git a/src/test/compile-fail/attr-before-stmt.rs b/src/test/parse-fail/attr-before-stmt.rs index ec837cd6de3..ec837cd6de3 100644 --- a/src/test/compile-fail/attr-before-stmt.rs +++ b/src/test/parse-fail/attr-before-stmt.rs diff --git a/src/test/compile-fail/attr-dangling-in-fn.rs b/src/test/parse-fail/attr-dangling-in-fn.rs index 384622fb168..384622fb168 100644 --- a/src/test/compile-fail/attr-dangling-in-fn.rs +++ b/src/test/parse-fail/attr-dangling-in-fn.rs diff --git a/src/test/compile-fail/attr-dangling-in-mod.rs b/src/test/parse-fail/attr-dangling-in-mod.rs index 59a922ebee1..59a922ebee1 100644 --- a/src/test/compile-fail/attr-dangling-in-mod.rs +++ b/src/test/parse-fail/attr-dangling-in-mod.rs diff --git a/src/test/compile-fail/attr.rs b/src/test/parse-fail/attr.rs index 4bd61412731..4bd61412731 100644 --- a/src/test/compile-fail/attr.rs +++ b/src/test/parse-fail/attr.rs diff --git a/src/test/compile-fail/attrs-after-extern-mod.rs b/src/test/parse-fail/attrs-after-extern-mod.rs index df747618696..df747618696 100644 --- a/src/test/compile-fail/attrs-after-extern-mod.rs +++ b/src/test/parse-fail/attrs-after-extern-mod.rs diff --git a/src/test/compile-fail/bad-char-literals.rs b/src/test/parse-fail/bad-char-literals.rs index 2a358ae8307..2a358ae8307 100644 --- a/src/test/compile-fail/bad-char-literals.rs +++ b/src/test/parse-fail/bad-char-literals.rs diff --git a/src/test/compile-fail/bad-lit-suffixes.rs b/src/test/parse-fail/bad-lit-suffixes.rs index d10337e768c..d10337e768c 100644 --- a/src/test/compile-fail/bad-lit-suffixes.rs +++ b/src/test/parse-fail/bad-lit-suffixes.rs diff --git a/src/test/compile-fail/bad-value-ident-false.rs b/src/test/parse-fail/bad-value-ident-false.rs index ca10bdd9848..ca10bdd9848 100644 --- a/src/test/compile-fail/bad-value-ident-false.rs +++ b/src/test/parse-fail/bad-value-ident-false.rs diff --git a/src/test/compile-fail/bad-value-ident-true.rs b/src/test/parse-fail/bad-value-ident-true.rs index 4508d5219a2..4508d5219a2 100644 --- a/src/test/compile-fail/bad-value-ident-true.rs +++ b/src/test/parse-fail/bad-value-ident-true.rs diff --git a/src/test/compile-fail/doc-before-attr.rs b/src/test/parse-fail/doc-before-attr.rs index bb44a6a8abb..bb44a6a8abb 100644 --- a/src/test/compile-fail/doc-before-attr.rs +++ b/src/test/parse-fail/doc-before-attr.rs diff --git a/src/test/compile-fail/doc-before-eof.rs b/src/test/parse-fail/doc-before-eof.rs index e6dd4102462..e6dd4102462 100644 --- a/src/test/compile-fail/doc-before-eof.rs +++ b/src/test/parse-fail/doc-before-eof.rs diff --git a/src/test/compile-fail/doc-before-extern-rbrace.rs b/src/test/parse-fail/doc-before-extern-rbrace.rs index 5afd1b2c6b8..5afd1b2c6b8 100644 --- a/src/test/compile-fail/doc-before-extern-rbrace.rs +++ b/src/test/parse-fail/doc-before-extern-rbrace.rs diff --git a/src/test/compile-fail/doc-before-macro.rs b/src/test/parse-fail/doc-before-macro.rs index 8dc6c546500..8dc6c546500 100644 --- a/src/test/compile-fail/doc-before-macro.rs +++ b/src/test/parse-fail/doc-before-macro.rs diff --git a/src/test/compile-fail/doc-before-rbrace.rs b/src/test/parse-fail/doc-before-rbrace.rs index 6d05064277d..6d05064277d 100644 --- a/src/test/compile-fail/doc-before-rbrace.rs +++ b/src/test/parse-fail/doc-before-rbrace.rs diff --git a/src/test/compile-fail/doc-before-semi.rs b/src/test/parse-fail/doc-before-semi.rs index 8b0300edce0..8b0300edce0 100644 --- a/src/test/compile-fail/doc-before-semi.rs +++ b/src/test/parse-fail/doc-before-semi.rs diff --git a/src/test/compile-fail/extern-crate-as-no-string-help.rs b/src/test/parse-fail/extern-crate-as-no-string-help.rs index 5cc52f6f6db..5cc52f6f6db 100644 --- a/src/test/compile-fail/extern-crate-as-no-string-help.rs +++ b/src/test/parse-fail/extern-crate-as-no-string-help.rs diff --git a/src/test/compile-fail/generic-non-trailing-defaults.rs b/src/test/parse-fail/generic-non-trailing-defaults.rs index 0cfb05b9332..0cfb05b9332 100644 --- a/src/test/compile-fail/generic-non-trailing-defaults.rs +++ b/src/test/parse-fail/generic-non-trailing-defaults.rs diff --git a/src/test/compile-fail/int-literal-too-large-span.rs b/src/test/parse-fail/int-literal-too-large-span.rs index 8a496c934b9..8a496c934b9 100644 --- a/src/test/compile-fail/int-literal-too-large-span.rs +++ b/src/test/parse-fail/int-literal-too-large-span.rs diff --git a/src/test/compile-fail/issue-10412.rs b/src/test/parse-fail/issue-10412.rs index 8a99633b4fc..8a99633b4fc 100644 --- a/src/test/compile-fail/issue-10412.rs +++ b/src/test/parse-fail/issue-10412.rs diff --git a/src/test/compile-fail/issue-12560-1.rs b/src/test/parse-fail/issue-12560-1.rs index ea2043e6703..ea2043e6703 100644 --- a/src/test/compile-fail/issue-12560-1.rs +++ b/src/test/parse-fail/issue-12560-1.rs diff --git a/src/test/compile-fail/issue-14182.rs b/src/test/parse-fail/issue-14182.rs index 364951a4fea..364951a4fea 100644 --- a/src/test/compile-fail/issue-14182.rs +++ b/src/test/parse-fail/issue-14182.rs diff --git a/src/test/compile-fail/issue-17383.rs b/src/test/parse-fail/issue-17383.rs index c71e0ecd494..c71e0ecd494 100644 --- a/src/test/compile-fail/issue-17383.rs +++ b/src/test/parse-fail/issue-17383.rs diff --git a/src/test/compile-fail/issue-17718-const-mut.rs b/src/test/parse-fail/issue-17718-const-mut.rs index 5177ebbc188..5177ebbc188 100644 --- a/src/test/compile-fail/issue-17718-const-mut.rs +++ b/src/test/parse-fail/issue-17718-const-mut.rs diff --git a/src/test/compile-fail/issue-1802-2.rs b/src/test/parse-fail/issue-1802-2.rs index c7aacdfc68a..c7aacdfc68a 100644 --- a/src/test/compile-fail/issue-1802-2.rs +++ b/src/test/parse-fail/issue-1802-2.rs diff --git a/src/test/compile-fail/issue-5544-a.rs b/src/test/parse-fail/issue-5544-a.rs index 42a18ba5fb7..42a18ba5fb7 100644 --- a/src/test/compile-fail/issue-5544-a.rs +++ b/src/test/parse-fail/issue-5544-a.rs diff --git a/src/test/compile-fail/issue-5544-b.rs b/src/test/parse-fail/issue-5544-b.rs index 1f166ec0d1c..1f166ec0d1c 100644 --- a/src/test/compile-fail/issue-5544-b.rs +++ b/src/test/parse-fail/issue-5544-b.rs diff --git a/src/test/compile-fail/issue-8537.rs b/src/test/parse-fail/issue-8537.rs index dba9e751f71..dba9e751f71 100644 --- a/src/test/compile-fail/issue-8537.rs +++ b/src/test/parse-fail/issue-8537.rs diff --git a/src/test/compile-fail/keyword-as-as-identifier.rs b/src/test/parse-fail/keyword-as-as-identifier.rs index f307b12f66e..f307b12f66e 100644 --- a/src/test/compile-fail/keyword-as-as-identifier.rs +++ b/src/test/parse-fail/keyword-as-as-identifier.rs diff --git a/src/test/compile-fail/keyword-break-as-identifier.rs b/src/test/parse-fail/keyword-break-as-identifier.rs index 1e2725eb2fe..1e2725eb2fe 100644 --- a/src/test/compile-fail/keyword-break-as-identifier.rs +++ b/src/test/parse-fail/keyword-break-as-identifier.rs diff --git a/src/test/compile-fail/keyword-else-as-identifier.rs b/src/test/parse-fail/keyword-else-as-identifier.rs index 101fd938dcb..101fd938dcb 100644 --- a/src/test/compile-fail/keyword-else-as-identifier.rs +++ b/src/test/parse-fail/keyword-else-as-identifier.rs diff --git a/src/test/compile-fail/keyword-enum-as-identifier.rs b/src/test/parse-fail/keyword-enum-as-identifier.rs index ed504cc7b7f..ed504cc7b7f 100644 --- a/src/test/compile-fail/keyword-enum-as-identifier.rs +++ b/src/test/parse-fail/keyword-enum-as-identifier.rs diff --git a/src/test/compile-fail/keyword-extern-as-identifier.rs b/src/test/parse-fail/keyword-extern-as-identifier.rs index 3260506b3e1..3260506b3e1 100644 --- a/src/test/compile-fail/keyword-extern-as-identifier.rs +++ b/src/test/parse-fail/keyword-extern-as-identifier.rs diff --git a/src/test/compile-fail/keyword-fn-as-identifier.rs b/src/test/parse-fail/keyword-fn-as-identifier.rs index 8c98da229c8..8c98da229c8 100644 --- a/src/test/compile-fail/keyword-fn-as-identifier.rs +++ b/src/test/parse-fail/keyword-fn-as-identifier.rs diff --git a/src/test/compile-fail/keyword-for-as-identifier.rs b/src/test/parse-fail/keyword-for-as-identifier.rs index 196a3390676..196a3390676 100644 --- a/src/test/compile-fail/keyword-for-as-identifier.rs +++ b/src/test/parse-fail/keyword-for-as-identifier.rs diff --git a/src/test/compile-fail/keyword-if-as-identifier.rs b/src/test/parse-fail/keyword-if-as-identifier.rs index 05f82ec790c..05f82ec790c 100644 --- a/src/test/compile-fail/keyword-if-as-identifier.rs +++ b/src/test/parse-fail/keyword-if-as-identifier.rs diff --git a/src/test/compile-fail/keyword-impl-as-identifier.rs b/src/test/parse-fail/keyword-impl-as-identifier.rs index 1dd21800345..1dd21800345 100644 --- a/src/test/compile-fail/keyword-impl-as-identifier.rs +++ b/src/test/parse-fail/keyword-impl-as-identifier.rs diff --git a/src/test/compile-fail/keyword-let-as-identifier.rs b/src/test/parse-fail/keyword-let-as-identifier.rs index 0069a26a40b..0069a26a40b 100644 --- a/src/test/compile-fail/keyword-let-as-identifier.rs +++ b/src/test/parse-fail/keyword-let-as-identifier.rs diff --git a/src/test/compile-fail/keyword-loop-as-identifier.rs b/src/test/parse-fail/keyword-loop-as-identifier.rs index 6e469e8c0b4..6e469e8c0b4 100644 --- a/src/test/compile-fail/keyword-loop-as-identifier.rs +++ b/src/test/parse-fail/keyword-loop-as-identifier.rs diff --git a/src/test/compile-fail/keyword-match-as-identifier.rs b/src/test/parse-fail/keyword-match-as-identifier.rs index 9155ebc71fa..9155ebc71fa 100644 --- a/src/test/compile-fail/keyword-match-as-identifier.rs +++ b/src/test/parse-fail/keyword-match-as-identifier.rs diff --git a/src/test/compile-fail/keyword-mod-as-identifier.rs b/src/test/parse-fail/keyword-mod-as-identifier.rs index 02f57e937dd..02f57e937dd 100644 --- a/src/test/compile-fail/keyword-mod-as-identifier.rs +++ b/src/test/parse-fail/keyword-mod-as-identifier.rs diff --git a/src/test/compile-fail/keyword-pub-as-identifier.rs b/src/test/parse-fail/keyword-pub-as-identifier.rs index aa679741c1c..aa679741c1c 100644 --- a/src/test/compile-fail/keyword-pub-as-identifier.rs +++ b/src/test/parse-fail/keyword-pub-as-identifier.rs diff --git a/src/test/compile-fail/keyword-return-as-identifier.rs b/src/test/parse-fail/keyword-return-as-identifier.rs index c5676445917..c5676445917 100644 --- a/src/test/compile-fail/keyword-return-as-identifier.rs +++ b/src/test/parse-fail/keyword-return-as-identifier.rs diff --git a/src/test/compile-fail/keyword-self-as-identifier.rs b/src/test/parse-fail/keyword-self-as-identifier.rs index 8bb52142287..8bb52142287 100644 --- a/src/test/compile-fail/keyword-self-as-identifier.rs +++ b/src/test/parse-fail/keyword-self-as-identifier.rs diff --git a/src/test/compile-fail/keyword-static-as-identifier.rs b/src/test/parse-fail/keyword-static-as-identifier.rs index 7268c4f387e..7268c4f387e 100644 --- a/src/test/compile-fail/keyword-static-as-identifier.rs +++ b/src/test/parse-fail/keyword-static-as-identifier.rs diff --git a/src/test/compile-fail/keyword-struct-as-identifier.rs b/src/test/parse-fail/keyword-struct-as-identifier.rs index bd42eac0ecb..bd42eac0ecb 100644 --- a/src/test/compile-fail/keyword-struct-as-identifier.rs +++ b/src/test/parse-fail/keyword-struct-as-identifier.rs diff --git a/src/test/compile-fail/keyword-super-as-identifier.rs b/src/test/parse-fail/keyword-super-as-identifier.rs index 0378c326a89..0378c326a89 100644 --- a/src/test/compile-fail/keyword-super-as-identifier.rs +++ b/src/test/parse-fail/keyword-super-as-identifier.rs diff --git a/src/test/compile-fail/keyword-super.rs b/src/test/parse-fail/keyword-super.rs index 0c94f76f1f6..0c94f76f1f6 100644 --- a/src/test/compile-fail/keyword-super.rs +++ b/src/test/parse-fail/keyword-super.rs diff --git a/src/test/compile-fail/keyword-trait-as-identifier.rs b/src/test/parse-fail/keyword-trait-as-identifier.rs index 95c0d174c33..95c0d174c33 100644 --- a/src/test/compile-fail/keyword-trait-as-identifier.rs +++ b/src/test/parse-fail/keyword-trait-as-identifier.rs diff --git a/src/test/compile-fail/keyword-type-as-identifier.rs b/src/test/parse-fail/keyword-type-as-identifier.rs index 0aaa2a63c7c..0aaa2a63c7c 100644 --- a/src/test/compile-fail/keyword-type-as-identifier.rs +++ b/src/test/parse-fail/keyword-type-as-identifier.rs diff --git a/src/test/compile-fail/keyword-unsafe-as-identifier.rs b/src/test/parse-fail/keyword-unsafe-as-identifier.rs index 1b631eb877d..1b631eb877d 100644 --- a/src/test/compile-fail/keyword-unsafe-as-identifier.rs +++ b/src/test/parse-fail/keyword-unsafe-as-identifier.rs diff --git a/src/test/compile-fail/keyword-use-as-identifier.rs b/src/test/parse-fail/keyword-use-as-identifier.rs index e82afd54442..e82afd54442 100644 --- a/src/test/compile-fail/keyword-use-as-identifier.rs +++ b/src/test/parse-fail/keyword-use-as-identifier.rs diff --git a/src/test/compile-fail/keyword-while-as-identifier.rs b/src/test/parse-fail/keyword-while-as-identifier.rs index 95cea65c610..95cea65c610 100644 --- a/src/test/compile-fail/keyword-while-as-identifier.rs +++ b/src/test/parse-fail/keyword-while-as-identifier.rs diff --git a/src/test/compile-fail/keyword.rs b/src/test/parse-fail/keyword.rs index 64eac47e69b..64eac47e69b 100644 --- a/src/test/compile-fail/keyword.rs +++ b/src/test/parse-fail/keyword.rs diff --git a/src/test/compile-fail/keywords-followed-by-double-colon.rs b/src/test/parse-fail/keywords-followed-by-double-colon.rs index f69b041597e..f69b041597e 100644 --- a/src/test/compile-fail/keywords-followed-by-double-colon.rs +++ b/src/test/parse-fail/keywords-followed-by-double-colon.rs diff --git a/src/test/compile-fail/lex-bad-numeric-literals.rs b/src/test/parse-fail/lex-bad-numeric-literals.rs index 9a490be6a01..9a490be6a01 100644 --- a/src/test/compile-fail/lex-bad-numeric-literals.rs +++ b/src/test/parse-fail/lex-bad-numeric-literals.rs diff --git a/src/test/compile-fail/lex-bare-cr-string-literal-doc-comment.rs b/src/test/parse-fail/lex-bare-cr-string-literal-doc-comment.rs index c1e5121d6dd..c1e5121d6dd 100644 --- a/src/test/compile-fail/lex-bare-cr-string-literal-doc-comment.rs +++ b/src/test/parse-fail/lex-bare-cr-string-literal-doc-comment.rs diff --git a/src/test/compile-fail/lifetime-no-keyword.rs b/src/test/parse-fail/lifetime-no-keyword.rs index 8ffbcd90df8..8ffbcd90df8 100644 --- a/src/test/compile-fail/lifetime-no-keyword.rs +++ b/src/test/parse-fail/lifetime-no-keyword.rs diff --git a/src/test/compile-fail/lifetime-obsoleted-self.rs b/src/test/parse-fail/lifetime-obsoleted-self.rs index 766922f2f88..766922f2f88 100644 --- a/src/test/compile-fail/lifetime-obsoleted-self.rs +++ b/src/test/parse-fail/lifetime-obsoleted-self.rs diff --git a/src/test/compile-fail/macros-no-semicolon-items.rs b/src/test/parse-fail/macros-no-semicolon-items.rs index 314292085df..314292085df 100644 --- a/src/test/compile-fail/macros-no-semicolon-items.rs +++ b/src/test/parse-fail/macros-no-semicolon-items.rs diff --git a/src/test/compile-fail/no-binary-float-literal.rs b/src/test/parse-fail/no-binary-float-literal.rs index 2e207f90d36..2e207f90d36 100644 --- a/src/test/compile-fail/no-binary-float-literal.rs +++ b/src/test/parse-fail/no-binary-float-literal.rs diff --git a/src/test/compile-fail/no-hex-float-literal.rs b/src/test/parse-fail/no-hex-float-literal.rs index 4abb6093b24..4abb6093b24 100644 --- a/src/test/compile-fail/no-hex-float-literal.rs +++ b/src/test/parse-fail/no-hex-float-literal.rs diff --git a/src/test/compile-fail/no-unsafe-self.rs b/src/test/parse-fail/no-unsafe-self.rs index 0bf73bbdfe3..0bf73bbdfe3 100644 --- a/src/test/compile-fail/no-unsafe-self.rs +++ b/src/test/parse-fail/no-unsafe-self.rs diff --git a/src/test/compile-fail/non-str-meta.rs b/src/test/parse-fail/non-str-meta.rs index 752f72f0b08..752f72f0b08 100644 --- a/src/test/compile-fail/non-str-meta.rs +++ b/src/test/parse-fail/non-str-meta.rs diff --git a/src/test/compile-fail/obsolete-for-sized.rs b/src/test/parse-fail/obsolete-for-sized.rs index 1b86d08a50d..1b86d08a50d 100644 --- a/src/test/compile-fail/obsolete-for-sized.rs +++ b/src/test/parse-fail/obsolete-for-sized.rs diff --git a/src/test/compile-fail/obsolete-proc.rs b/src/test/parse-fail/obsolete-proc.rs index 5208cdb6ad2..5208cdb6ad2 100644 --- a/src/test/compile-fail/obsolete-proc.rs +++ b/src/test/parse-fail/obsolete-proc.rs diff --git a/src/test/compile-fail/qquote-1.rs b/src/test/parse-fail/qquote-1.rs index deae9a83866..deae9a83866 100644 --- a/src/test/compile-fail/qquote-1.rs +++ b/src/test/parse-fail/qquote-1.rs diff --git a/src/test/compile-fail/qquote-2.rs b/src/test/parse-fail/qquote-2.rs index 978287a681e..978287a681e 100644 --- a/src/test/compile-fail/qquote-2.rs +++ b/src/test/parse-fail/qquote-2.rs diff --git a/src/test/compile-fail/regions-fn-bound.rs b/src/test/parse-fail/regions-fn-bound.rs index c2b52b79f6c..c2b52b79f6c 100644 --- a/src/test/compile-fail/regions-fn-bound.rs +++ b/src/test/parse-fail/regions-fn-bound.rs diff --git a/src/test/compile-fail/require-parens-for-chained-comparison.rs b/src/test/parse-fail/require-parens-for-chained-comparison.rs index f2705f58331..f2705f58331 100644 --- a/src/test/compile-fail/require-parens-for-chained-comparison.rs +++ b/src/test/parse-fail/require-parens-for-chained-comparison.rs diff --git a/src/test/compile-fail/struct-no-fields-2.rs b/src/test/parse-fail/struct-no-fields-2.rs index 4f973f81b16..4f973f81b16 100644 --- a/src/test/compile-fail/struct-no-fields-2.rs +++ b/src/test/parse-fail/struct-no-fields-2.rs diff --git a/src/test/compile-fail/struct-no-fields-3.rs b/src/test/parse-fail/struct-no-fields-3.rs index e594683feed..e594683feed 100644 --- a/src/test/compile-fail/struct-no-fields-3.rs +++ b/src/test/parse-fail/struct-no-fields-3.rs diff --git a/src/test/compile-fail/struct-no-fields-4.rs b/src/test/parse-fail/struct-no-fields-4.rs index 60a0a85d0ab..60a0a85d0ab 100644 --- a/src/test/compile-fail/struct-no-fields-4.rs +++ b/src/test/parse-fail/struct-no-fields-4.rs diff --git a/src/test/compile-fail/struct-no-fields-5.rs b/src/test/parse-fail/struct-no-fields-5.rs index 940fa9c7f27..940fa9c7f27 100644 --- a/src/test/compile-fail/struct-no-fields-5.rs +++ b/src/test/parse-fail/struct-no-fields-5.rs diff --git a/src/test/compile-fail/struct-variant-no-fields.rs b/src/test/parse-fail/struct-variant-no-fields.rs index 41dbbeefc0a..41dbbeefc0a 100644 --- a/src/test/compile-fail/struct-variant-no-fields.rs +++ b/src/test/parse-fail/struct-variant-no-fields.rs diff --git a/src/test/compile-fail/struct-variant-no-pub.rs b/src/test/parse-fail/struct-variant-no-pub.rs index e62b39ad5aa..e62b39ad5aa 100644 --- a/src/test/compile-fail/struct-variant-no-pub.rs +++ b/src/test/parse-fail/struct-variant-no-pub.rs diff --git a/src/test/compile-fail/syntax-trait-polarity.rs b/src/test/parse-fail/syntax-trait-polarity.rs index 1ab79f5c80e..1ab79f5c80e 100644 --- a/src/test/compile-fail/syntax-trait-polarity.rs +++ b/src/test/parse-fail/syntax-trait-polarity.rs diff --git a/src/test/compile-fail/tag-variant-disr-non-nullary.rs b/src/test/parse-fail/tag-variant-disr-non-nullary.rs index 207bbe9a446..207bbe9a446 100644 --- a/src/test/compile-fail/tag-variant-disr-non-nullary.rs +++ b/src/test/parse-fail/tag-variant-disr-non-nullary.rs diff --git a/src/test/compile-fail/trailing-carriage-return-in-string.rs b/src/test/parse-fail/trailing-carriage-return-in-string.rs index 81098333261..81098333261 100644 --- a/src/test/compile-fail/trailing-carriage-return-in-string.rs +++ b/src/test/parse-fail/trailing-carriage-return-in-string.rs diff --git a/src/test/compile-fail/trailing-plus-in-bounds.rs b/src/test/parse-fail/trailing-plus-in-bounds.rs index e8f9ed4d2cf..e8f9ed4d2cf 100644 --- a/src/test/compile-fail/trailing-plus-in-bounds.rs +++ b/src/test/parse-fail/trailing-plus-in-bounds.rs diff --git a/src/test/compile-fail/trait-bounds-not-on-impl.rs b/src/test/parse-fail/trait-bounds-not-on-impl.rs index a034352c4a6..a034352c4a6 100644 --- a/src/test/compile-fail/trait-bounds-not-on-impl.rs +++ b/src/test/parse-fail/trait-bounds-not-on-impl.rs diff --git a/src/test/compile-fail/type-parameters-in-field-exprs.rs b/src/test/parse-fail/type-parameters-in-field-exprs.rs index 54ddb3e19fa..54ddb3e19fa 100644 --- a/src/test/compile-fail/type-parameters-in-field-exprs.rs +++ b/src/test/parse-fail/type-parameters-in-field-exprs.rs diff --git a/src/test/compile-fail/unsized2.rs b/src/test/parse-fail/unsized2.rs index b2eb2064aeb..b2eb2064aeb 100644 --- a/src/test/compile-fail/unsized2.rs +++ b/src/test/parse-fail/unsized2.rs diff --git a/src/test/compile-fail/virtual-structs.rs b/src/test/parse-fail/virtual-structs.rs index 3b3c7d5a30f..3b3c7d5a30f 100644 --- a/src/test/compile-fail/virtual-structs.rs +++ b/src/test/parse-fail/virtual-structs.rs diff --git a/src/test/compile-fail/where-clauses-no-bounds-or-predicates.rs b/src/test/parse-fail/where-clauses-no-bounds-or-predicates.rs index b96c7c2de6b..b96c7c2de6b 100644 --- a/src/test/compile-fail/where-clauses-no-bounds-or-predicates.rs +++ b/src/test/parse-fail/where-clauses-no-bounds-or-predicates.rs |
