Remove unecessary -Z continue-parse-after-error from tests

This commit is contained in:
Esteban Küber 2019-05-30 18:55:09 -07:00
parent aee7012fab
commit 860dce794c
39 changed files with 39 additions and 39 deletions

View file

@ -1,4 +1,4 @@
// compile-flags: -Z continue-parse-after-error
// Test you can't use a higher-ranked trait bound inside of a qualified
// path (just won't parse).

View file

@ -1,4 +1,4 @@
// compile-flags: -Z continue-parse-after-error
extern

View file

@ -1,4 +1,4 @@
// compile-flags: -Z parse-only -Z continue-parse-after-error
// compile-flags: -Z parse-only
struct S<
T: 'a + Tr, // OK

View file

@ -1,4 +1,4 @@
// compile-flags: -Z continue-parse-after-error
struct X {
a: u8 /** document a */,

View file

@ -1,4 +1,4 @@
// compile-flags: -Z continue-parse-after-error
fn main() {
/// document

View file

@ -1,4 +1,4 @@
// compile-flags: -Z continue-parse-after-error
fn /// document
foo() {}

View file

@ -1,4 +1,4 @@
// compile-flags: -Z continue-parse-after-error
mod Foo {
/// document

View file

@ -1,4 +1,4 @@
// compile-flags: -Z continue-parse-after-error
struct X {
a: u8,

View file

@ -1,4 +1,4 @@
// compile-flags: -Z continue-parse-after-error
struct X {
a: u8 /// document

View file

@ -1,4 +1,4 @@
// compile-flags: -Z continue-parse-after-error
struct Bar<T> { x: T } where T: Copy //~ ERROR expected item, found keyword `where`

View file

@ -1,4 +1,4 @@
// compile-flags: -Z continue-parse-after-error
struct Baz<U> where U: Eq(U); //This is parsed as the new Fn* style parenthesis syntax.
struct Baz<U> where U: Eq(U) -> R; // Notice this parses as well.

View file

@ -1,4 +1,4 @@
// compile-flags: -Z continue-parse-after-error
trait Trait<T> { type Item; }

View file

@ -1,4 +1,4 @@
// compile-flags: -Z continue-parse-after-error
pub fn test() {
foo(|_|) //~ ERROR expected expression, found `)`

View file

@ -1,4 +1,4 @@
// compile-flags: -Z continue-parse-after-error
fn main() {
0b121; //~ ERROR invalid digit for a base 2 literal

View file

@ -1,4 +1,4 @@
// compile-flags: -Z continue-parse-after-error
fn main() {
0o1.0; //~ ERROR: octal float literal is not supported

View file

@ -1,4 +1,4 @@
// compile-flags: -Z continue-parse-after-error
fn main() {
0o18; //~ ERROR invalid digit for a base 8 literal

View file

@ -1,4 +1,4 @@
// compile-flags: -Z continue-parse-after-error
macro_rules! ignored_item {
() => {

View file

@ -1,4 +1,4 @@
// compile-flags: -Z continue-parse-after-error
pub fn main() {
let s = "\u{lol}";

View file

@ -1,4 +1,4 @@
// compile-flags: -Z continue-parse-after-error
trait A {
fn foo(*mut self); //~ ERROR cannot pass `self` by raw pointer

View file

@ -1,4 +1,4 @@
// compile-flags: -Z continue-parse-after-error
// Make sure that inclusive ranges with `...` syntax don't parse.

View file

@ -1,4 +1,4 @@
// compile-flags: -Z continue-parse-after-error
pub fn main() {

View file

@ -1,4 +1,4 @@
// compile-flags: -Z continue-parse-after-error
fn main() {
enum Test {

View file

@ -1,4 +1,4 @@
// compile-flags: -Z continue-parse-after-error
fn main() {
enum Test {

View file

@ -1,4 +1,4 @@
// compile-flags: -Z continue-parse-after-error
fn main() {
struct Test {

View file

@ -1,4 +1,4 @@
// compile-flags: -Z continue-parse-after-error
struct S {
let foo: (),

View file

@ -1,5 +1,5 @@
// compile-pass
// compile-flags: -Z continue-parse-after-error
#![feature(box_syntax)]
#![allow(bare_trait_objects)]

View file

@ -1,4 +1,4 @@
// compile-flags: -Z continue-parse-after-error
trait Foo {
}

View file

@ -1,4 +1,4 @@
// compile-flags: -Z continue-parse-after-error
#![feature(optin_builtin_traits)]
#![allow(bare_trait_objects)]

View file

@ -1,4 +1,4 @@
// compile-flags: -Z continue-parse-after-error
#![allow(bare_trait_objects)]

View file

@ -1,4 +1,4 @@
// compile-flags: -Z continue-parse-after-error
use std::any:: as foo; //~ ERROR expected identifier, found keyword `as`
//~^ ERROR: expected one of `::`, `;`, or `as`, found `foo`

View file

@ -1,4 +1,4 @@
// compile-flags: -Z continue-parse-after-error
// Empty predicate list is OK
fn equal1<T>(_: &T, _: &T) -> bool where {