Skip to content

Commit a430fb9

Browse files
committed
---
yaml --- r: 276696 b: refs/heads/try c: e1d8ad3 h: refs/heads/master
1 parent e82dffe commit a430fb9

22 files changed

+32
-12
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 6dbb0e86aec11050480beb76eade6fb805010ba7
33
refs/heads/snap-stage3: 235d77457d80b549dad3ac36d94f235208a1eafb
4-
refs/heads/try: 2646663b5a9b9bd021e58eb9cd8bcc63b7925c95
4+
refs/heads/try: e1d8ad3fb0a1fc764bd2b117141ee94ef78460e6
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
77
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try/src/test/compile-fail/issue-12560-2.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// compile-flags: -Z continue-parse-after-error
12+
1113
// For style and consistency reasons, non-parametrized enum variants must
1214
// be used simply as `ident` instead of `ident ()`.
1315
// This test-case covers enum matching.

branches/try/src/test/compile-fail/issue-28433.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// compile-flags: -Z continue-parse-after-error
12+
1113
enum bird {
1214
pub duck,
1315
//~^ ERROR: expected identifier, found keyword `pub`

branches/try/src/test/compile-fail/issue-30715.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// compile-flags: -Z continue-parse-after-error
12+
1113
macro_rules! parallel {
1214
(
1315
// If future has `pred`/`moelarry` fragments (where "pred" is

branches/try/src/test/compile-fail/macro-incomplete-parse.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// compile-flags: -Z continue-parse-after-error
12+
1113
macro_rules! ignored_item {
1214
() => {
1315
fn foo() {}

branches/try/src/test/compile-fail/parse-error-correct.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// compile-flags: -Z continue-parse-after-error
12+
1113
// Test that the parser is error correcting missing idents. Despite a parsing
1214
// error (or two), we still run type checking (and don't get extra errors there).
1315

branches/try/src/test/compile-fail/parser-recovery-1.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// compile-flags: -Z continue-parse-after-error
12+
1113
// Test that we can recover from missing braces in the parser.
1214

1315
trait Foo {

branches/try/src/test/compile-fail/parser-recovery-2.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// compile-flags: -Z continue-parse-after-error
12+
1113
// Test that we can recover from mismatched braces in the parser.
1214

1315
trait Foo {

branches/try/src/test/compile-fail/self_type_keyword.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// compile-flags: -Z continue-parse-after-error
12+
1113
struct Self;
1214
//~^ ERROR expected identifier, found keyword `Self`
1315

branches/try/src/test/parse-fail/ascii-only-character-escape.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// compile-flags: -Z parse-only
11+
// compile-flags: -Z parse-only -Z continue-parse-after-error
1212

1313
fn main() {
1414
let x = "\x80"; //~ ERROR may only be used

branches/try/src/test/parse-fail/bad-char-literals.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// compile-flags: -Z parse-only
11+
// compile-flags: -Z parse-only -Z continue-parse-after-error
1212

1313
// ignore-tidy-cr
1414
// ignore-tidy-tab

branches/try/src/test/parse-fail/bad-lit-suffixes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// compile-flags: -Z parse-only
11+
// compile-flags: -Z parse-only -Z continue-parse-after-error
1212

1313

1414
extern

branches/try/src/test/parse-fail/byte-literals.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// compile-flags: -Z parse-only
11+
// compile-flags: -Z parse-only -Z continue-parse-after-error
1212

1313

1414
// ignore-tidy-tab

branches/try/src/test/parse-fail/byte-string-literals.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// compile-flags: -Z parse-only
11+
// compile-flags: -Z parse-only -Z continue-parse-after-error
1212

1313

1414
// ignore-tidy-tab

branches/try/src/test/parse-fail/issue-10412.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// compile-flags: -Z parse-only
11+
// compile-flags: -Z parse-only -Z continue-parse-after-error
1212

1313

1414
trait Serializable<'self, T> { //~ ERROR no longer a special lifetime

branches/try/src/test/parse-fail/issue-23620-invalid-escapes.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// compile-flags: -Z parse-only -Z continue-parse-after-error
12+
1113
fn main() {
1214
let _ = b"\u{a66e}";
1315
//~^ ERROR unicode escape sequences cannot be used as a byte or in a byte string

branches/try/src/test/parse-fail/lex-bad-binary-literal.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// compile-flags: -Z parse-only -Z continue-parse-after-error
12+
1113
fn main() {
1214
0b121; //~ ERROR invalid digit for a base 2 literal
1315
0b10_10301; //~ ERROR invalid digit for a base 2 literal

branches/try/src/test/parse-fail/lex-bad-char-literals-1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// compile-flags: -Z parse-only
11+
// compile-flags: -Z parse-only -Z continue-parse-after-error
1212
static c3: char =
1313
'\x1' //~ ERROR: numeric character escape is too short
1414
;

branches/try/src/test/parse-fail/lex-bad-numeric-literals.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// compile-flags: -Z parse-only
11+
// compile-flags: -Z parse-only -Z continue-parse-after-error
1212

1313
fn main() {
1414
0o1.0; //~ ERROR: octal float literal is not supported

branches/try/src/test/parse-fail/lex-bare-cr-string-literal-doc-comment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// compile-flags: -Z parse-only
11+
// compile-flags: -Z parse-only -Z continue-parse-after-error
1212

1313
// ignore-tidy-cr
1414

branches/try/src/test/parse-fail/new-unicode-escapes-4.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// compile-flags: -Z parse-only
11+
// compile-flags: -Z parse-only -Z continue-parse-after-error
1212

1313
pub fn main() {
1414
let s = "\u{lol}";

branches/try/src/test/parse-fail/no-unsafe-self.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// compile-flags: -Z parse-only
11+
// compile-flags: -Z parse-only -Z continue-parse-after-error
1212

1313
trait A {
1414
fn foo(*mut self); //~ ERROR cannot pass self by raw pointer

0 commit comments

Comments
 (0)