Skip to content

Commit

Permalink
Ignore test that fails on stage1
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewjasper committed Aug 14, 2018
1 parent a573305 commit 0e43e6f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
1 change: 1 addition & 0 deletions src/test/ui/macros/macros-nonfatal-errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

// normalize-stderr-test: "The system cannot find the file specified\." -> "No such file or directory"
// ignore-tidy-linelength
// ignore-stage1

// test that errors in a (selection) of macros don't kill compilation
// immediately, so that we get more errors listed at a time.
Expand Down
30 changes: 15 additions & 15 deletions src/test/ui/macros/macros-nonfatal-errors.stderr
Original file line number Diff line number Diff line change
@@ -1,55 +1,55 @@
error[E0665]: `Default` cannot be derived for enums, only structs
--> $DIR/macros-nonfatal-errors.rs:20:10
--> $DIR/macros-nonfatal-errors.rs:21:10
|
LL | #[derive(Default)] //~ ERROR
| ^^^^^^^

error: inline assembly must be a string literal
--> $DIR/macros-nonfatal-errors.rs:24:10
--> $DIR/macros-nonfatal-errors.rs:25:10
|
LL | asm!(invalid); //~ ERROR
| ^^^^^^^

error: concat_idents! requires ident args.
--> $DIR/macros-nonfatal-errors.rs:26:5
--> $DIR/macros-nonfatal-errors.rs:27:5
|
LL | concat_idents!("not", "idents"); //~ ERROR
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: argument must be a string literal
--> $DIR/macros-nonfatal-errors.rs:28:17
--> $DIR/macros-nonfatal-errors.rs:29:17
|
LL | option_env!(invalid); //~ ERROR
| ^^^^^^^

error: expected string literal
--> $DIR/macros-nonfatal-errors.rs:29:10
--> $DIR/macros-nonfatal-errors.rs:30:10
|
LL | env!(invalid); //~ ERROR
| ^^^^^^^

error: expected string literal
--> $DIR/macros-nonfatal-errors.rs:30:10
--> $DIR/macros-nonfatal-errors.rs:31:10
|
LL | env!(foo, abr, baz); //~ ERROR
| ^^^

error: environment variable `RUST_HOPEFULLY_THIS_DOESNT_EXIST` not defined
--> $DIR/macros-nonfatal-errors.rs:31:5
--> $DIR/macros-nonfatal-errors.rs:32:5
|
LL | env!("RUST_HOPEFULLY_THIS_DOESNT_EXIST"); //~ ERROR
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0658]: non-ident macro paths are experimental (see issue #35896)
--> $DIR/macros-nonfatal-errors.rs:33:5
--> $DIR/macros-nonfatal-errors.rs:34:5
|
LL | foo::blah!(); //~ ERROR
| ^^^^^^^^^
|
= help: add #![feature(use_extern_macros)] to the crate attributes to enable

error: format argument must be a string literal
--> $DIR/macros-nonfatal-errors.rs:35:13
--> $DIR/macros-nonfatal-errors.rs:36:13
|
LL | format!(invalid); //~ ERROR
| ^^^^^^^
Expand All @@ -59,37 +59,37 @@ LL | format!("{}", invalid); //~ ERROR
| ^^^^^

error: argument must be a string literal
--> $DIR/macros-nonfatal-errors.rs:37:14
--> $DIR/macros-nonfatal-errors.rs:38:14
|
LL | include!(invalid); //~ ERROR
| ^^^^^^^

error: argument must be a string literal
--> $DIR/macros-nonfatal-errors.rs:39:18
--> $DIR/macros-nonfatal-errors.rs:40:18
|
LL | include_str!(invalid); //~ ERROR
| ^^^^^^^

error: couldn't read $DIR/i'd be quite surprised if a file with this name existed: No such file or directory (os error 2)
--> $DIR/macros-nonfatal-errors.rs:40:5
--> $DIR/macros-nonfatal-errors.rs:41:5
|
LL | include_str!("i'd be quite surprised if a file with this name existed"); //~ ERROR
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: argument must be a string literal
--> $DIR/macros-nonfatal-errors.rs:41:20
--> $DIR/macros-nonfatal-errors.rs:42:20
|
LL | include_bytes!(invalid); //~ ERROR
| ^^^^^^^

error: couldn't read $DIR/i'd be quite surprised if a file with this name existed: No such file or directory (os error 2)
--> $DIR/macros-nonfatal-errors.rs:42:5
--> $DIR/macros-nonfatal-errors.rs:43:5
|
LL | include_bytes!("i'd be quite surprised if a file with this name existed"); //~ ERROR
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: trace_macros! accepts only `true` or `false`
--> $DIR/macros-nonfatal-errors.rs:44:5
--> $DIR/macros-nonfatal-errors.rs:45:5
|
LL | trace_macros!(invalid); //~ ERROR
| ^^^^^^^^^^^^^^^^^^^^^^^
Expand Down

0 comments on commit 0e43e6f

Please sign in to comment.