Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tests/ui/array-slice-vec/box-of-array-of-drop-1.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//@ run-pass
//@ needs-unwind
//@ needs-threads
//@ ignore-backends: gcc

#![allow(overflowing_literals)]

Expand Down
1 change: 1 addition & 0 deletions tests/ui/array-slice-vec/box-of-array-of-drop-2.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//@ run-pass
//@ needs-unwind
//@ needs-threads
//@ ignore-backends: gcc

#![allow(overflowing_literals)]

Expand Down
1 change: 1 addition & 0 deletions tests/ui/array-slice-vec/nested-vec-3.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//@ run-pass
//@ needs-unwind
//@ needs-threads
//@ ignore-backends: gcc

#![allow(overflowing_literals)]

Expand Down
1 change: 1 addition & 0 deletions tests/ui/array-slice-vec/slice-panic-1.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//@ run-pass
//@ needs-unwind
//@ needs-threads
//@ ignore-backends: gcc

// Test that if a slicing expr[..] fails, the correct cleanups happen.

Expand Down
1 change: 1 addition & 0 deletions tests/ui/array-slice-vec/slice-panic-2.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//@ run-pass
//@ needs-unwind
//@ needs-threads
//@ ignore-backends: gcc

// Test that if a slicing expr[..] fails, the correct cleanups happen.

Expand Down
1 change: 1 addition & 0 deletions tests/ui/asm/global-asm-isnt-really-a-mir-body.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

//@ build-pass
//@ needs-asm-support
//@ ignore-backends: gcc

use std::arch::global_asm;

Expand Down
1 change: 1 addition & 0 deletions tests/ui/asm/x86_64/goto.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//@ only-x86_64
//@ run-pass
//@ needs-asm-support
//@ ignore-backends: gcc

#![deny(unreachable_code)]
#![feature(asm_goto_with_outputs)]
Expand Down
4 changes: 2 additions & 2 deletions tests/ui/asm/x86_64/goto.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
warning: unreachable statement
--> $DIR/goto.rs:143:9
--> $DIR/goto.rs:144:9
|
LL | / asm!(
LL | | "jmp {}",
Expand All @@ -13,7 +13,7 @@ LL | unreachable!();
| ^^^^^^^^^^^^^^ unreachable statement
|
note: the lint level is defined here
--> $DIR/goto.rs:133:8
--> $DIR/goto.rs:134:8
|
LL | #[warn(unreachable_code)]
| ^^^^^^^^^^^^^^^^
Expand Down
1 change: 1 addition & 0 deletions tests/ui/asm/x86_64/srcloc.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//@ only-x86_64
//@ build-fail
//@ compile-flags: -Ccodegen-units=1
//@ ignore-backends: gcc

use std::arch::asm;

Expand Down
50 changes: 25 additions & 25 deletions tests/ui/asm/x86_64/srcloc.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: invalid instruction mnemonic 'invalid_instruction'
--> $DIR/srcloc.rs:11:15
--> $DIR/srcloc.rs:12:15
|
LL | asm!("invalid_instruction");
| ^^^^^^^^^^^^^^^^^^^
Expand All @@ -11,7 +11,7 @@ LL | invalid_instruction
| ^^^^^^^^^^^^^^^^^^^

error: invalid instruction mnemonic 'invalid_instruction'
--> $DIR/srcloc.rs:15:13
--> $DIR/srcloc.rs:16:13
|
LL | invalid_instruction
| ^^^^^^^^^^^^^^^^^^^
Expand All @@ -23,7 +23,7 @@ LL | invalid_instruction
| ^^^^^^^^^^^^^^^^^^^

error: invalid instruction mnemonic 'invalid_instruction'
--> $DIR/srcloc.rs:20:13
--> $DIR/srcloc.rs:21:13
|
LL | invalid_instruction
| ^^^^^^^^^^^^^^^^^^^
Expand All @@ -35,7 +35,7 @@ LL | invalid_instruction
| ^^^^^^^^^^^^^^^^^^^

error: invalid instruction mnemonic 'invalid_instruction'
--> $DIR/srcloc.rs:26:13
--> $DIR/srcloc.rs:27:13
|
LL | invalid_instruction
| ^^^^^^^^^^^^^^^^^^^
Expand All @@ -47,7 +47,7 @@ LL | invalid_instruction
| ^^^^^^^^^^^^^^^^^^^

error: invalid instruction mnemonic 'invalid_instruction'
--> $DIR/srcloc.rs:33:13
--> $DIR/srcloc.rs:34:13
|
LL | invalid_instruction
| ^^^^^^^^^^^^^^^^^^^
Expand All @@ -59,7 +59,7 @@ LL | invalid_instruction
| ^^^^^^^^^^^^^^^^^^^

error: invalid instruction mnemonic 'invalid_instruction'
--> $DIR/srcloc.rs:38:14
--> $DIR/srcloc.rs:39:14
|
LL | asm!(concat!("invalid", "_", "instruction"));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -71,7 +71,7 @@ LL | invalid_instruction
| ^^^^^^^^^^^^^^^^^^^

warning: scale factor without index register is ignored
--> $DIR/srcloc.rs:41:15
--> $DIR/srcloc.rs:42:15
|
LL | asm!("movaps %xmm3, (%esi, 2)", options(att_syntax));
| ^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -83,7 +83,7 @@ LL | movaps %xmm3, (%esi, 2)
| ^

error: invalid instruction mnemonic 'invalid_instruction'
--> $DIR/srcloc.rs:45:14
--> $DIR/srcloc.rs:46:14
|
LL | "invalid_instruction",
| ^^^^^^^^^^^^^^^^^^^
Expand All @@ -95,7 +95,7 @@ LL | invalid_instruction
| ^^^^^^^^^^^^^^^^^^^

error: invalid instruction mnemonic 'invalid_instruction'
--> $DIR/srcloc.rs:51:14
--> $DIR/srcloc.rs:52:14
|
LL | "invalid_instruction",
| ^^^^^^^^^^^^^^^^^^^
Expand All @@ -107,7 +107,7 @@ LL | invalid_instruction
| ^^^^^^^^^^^^^^^^^^^

error: invalid instruction mnemonic 'invalid_instruction'
--> $DIR/srcloc.rs:58:14
--> $DIR/srcloc.rs:59:14
|
LL | "invalid_instruction",
| ^^^^^^^^^^^^^^^^^^^
Expand All @@ -119,7 +119,7 @@ LL | invalid_instruction
| ^^^^^^^^^^^^^^^^^^^

error: invalid instruction mnemonic 'invalid_instruction'
--> $DIR/srcloc.rs:65:13
--> $DIR/srcloc.rs:66:13
|
LL | concat!("invalid", "_", "instruction"),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -131,7 +131,7 @@ LL | invalid_instruction
| ^^^^^^^^^^^^^^^^^^^

error: invalid instruction mnemonic 'invalid_instruction'
--> $DIR/srcloc.rs:72:13
--> $DIR/srcloc.rs:73:13
|
LL | concat!("invalid", "_", "instruction"),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -143,7 +143,7 @@ LL | invalid_instruction
| ^^^^^^^^^^^^^^^^^^^

error: invalid instruction mnemonic 'invalid_instruction1'
--> $DIR/srcloc.rs:79:14
--> $DIR/srcloc.rs:80:14
|
LL | "invalid_instruction1",
| ^^^^^^^^^^^^^^^^^^^^
Expand All @@ -155,7 +155,7 @@ LL | invalid_instruction1
| ^^^^^^^^^^^^^^^^^^^^

error: invalid instruction mnemonic 'invalid_instruction2'
--> $DIR/srcloc.rs:80:14
--> $DIR/srcloc.rs:81:14
|
LL | "invalid_instruction2",
| ^^^^^^^^^^^^^^^^^^^^
Expand All @@ -167,7 +167,7 @@ LL | invalid_instruction2
| ^^^^^^^^^^^^^^^^^^^^

error: invalid instruction mnemonic 'invalid_instruction1'
--> $DIR/srcloc.rs:86:13
--> $DIR/srcloc.rs:87:13
|
LL | / concat!(
LL | | "invalid", "_", "instruction1", "\n",
Expand All @@ -182,7 +182,7 @@ LL | invalid_instruction1
| ^^^^^^^^^^^^^^^^^^^^

error: invalid instruction mnemonic 'invalid_instruction2'
--> $DIR/srcloc.rs:86:13
--> $DIR/srcloc.rs:87:13
|
LL | / concat!(
LL | | "invalid", "_", "instruction1", "\n",
Expand All @@ -197,7 +197,7 @@ LL | invalid_instruction2
| ^^^^^^^^^^^^^^^^^^^^

error: invalid instruction mnemonic 'invalid_instruction1'
--> $DIR/srcloc.rs:95:13
--> $DIR/srcloc.rs:96:13
|
LL | / concat!(
LL | | "invalid", "_", "instruction1", "\n",
Expand All @@ -212,7 +212,7 @@ LL | invalid_instruction1
| ^^^^^^^^^^^^^^^^^^^^

error: invalid instruction mnemonic 'invalid_instruction2'
--> $DIR/srcloc.rs:95:13
--> $DIR/srcloc.rs:96:13
|
LL | / concat!(
LL | | "invalid", "_", "instruction1", "\n",
Expand All @@ -227,7 +227,7 @@ LL | invalid_instruction2
| ^^^^^^^^^^^^^^^^^^^^

error: invalid instruction mnemonic 'invalid_instruction3'
--> $DIR/srcloc.rs:99:13
--> $DIR/srcloc.rs:100:13
|
LL | / concat!(
LL | | "invalid", "_", "instruction3", "\n",
Expand All @@ -242,7 +242,7 @@ LL | invalid_instruction3
| ^^^^^^^^^^^^^^^^^^^^

error: invalid instruction mnemonic 'invalid_instruction4'
--> $DIR/srcloc.rs:99:13
--> $DIR/srcloc.rs:100:13
|
LL | / concat!(
LL | | "invalid", "_", "instruction3", "\n",
Expand All @@ -257,7 +257,7 @@ LL | invalid_instruction4
| ^^^^^^^^^^^^^^^^^^^^

error: invalid instruction mnemonic 'invalid_instruction1'
--> $DIR/srcloc.rs:110:13
--> $DIR/srcloc.rs:111:13
|
LL | / concat!(
LL | | "invalid", "_", "instruction1", "\n",
Expand All @@ -272,7 +272,7 @@ LL | invalid_instruction1
| ^^^^^^^^^^^^^^^^^^^^

error: invalid instruction mnemonic 'invalid_instruction2'
--> $DIR/srcloc.rs:110:13
--> $DIR/srcloc.rs:111:13
|
LL | / concat!(
LL | | "invalid", "_", "instruction1", "\n",
Expand All @@ -287,7 +287,7 @@ LL | invalid_instruction2
| ^^^^^^^^^^^^^^^^^^^^

error: invalid instruction mnemonic 'invalid_instruction3'
--> $DIR/srcloc.rs:114:13
--> $DIR/srcloc.rs:115:13
|
LL | / concat!(
LL | | "invalid", "_", "instruction3", "\n",
Expand All @@ -302,7 +302,7 @@ LL | invalid_instruction3
| ^^^^^^^^^^^^^^^^^^^^

error: invalid instruction mnemonic 'invalid_instruction4'
--> $DIR/srcloc.rs:114:13
--> $DIR/srcloc.rs:115:13
|
LL | / concat!(
LL | | "invalid", "_", "instruction3", "\n",
Expand All @@ -317,7 +317,7 @@ LL | invalid_instruction4
| ^^^^^^^^^^^^^^^^^^^^

error: invalid instruction mnemonic 'invalid_instruction'
--> $DIR/srcloc.rs:127:14
--> $DIR/srcloc.rs:128:14
|
LL | "invalid_instruction"
| ^^^^^^^^^^^^^^^^^^^
Expand Down
1 change: 1 addition & 0 deletions tests/ui/attributes/fn-align-dyn.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
//@ run-pass
//@ ignore-wasm32 aligning functions is not currently supported on wasm (#143368)
//@ ignore-backends: gcc

// FIXME(#82232, #143834): temporarily renamed to mitigate `#[align]` nameres ambiguity
#![feature(rustc_attrs)]
Expand Down
1 change: 1 addition & 0 deletions tests/ui/attributes/main-removed-2/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//@ proc-macro: tokyo.rs
//@ compile-flags:--extern tokyo
//@ edition:2021
//@ ignore-backends: gcc

use tokyo::main;

Expand Down
1 change: 1 addition & 0 deletions tests/ui/backtrace/synchronized-panic-handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
//@ exec-env:RUST_BACKTRACE=0
//@ needs-threads
//@ needs-unwind
//@ ignore-backends: gcc
use std::thread;
const PANIC_MESSAGE: &str = "oops oh no woe is me";

Expand Down
4 changes: 2 additions & 2 deletions tests/ui/backtrace/synchronized-panic-handler.run.stderr
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

thread '<unnamed>' ($TID) panicked at $DIR/synchronized-panic-handler.rs:11:5:
thread '<unnamed>' ($TID) panicked at $DIR/synchronized-panic-handler.rs:12:5:
oops oh no woe is me
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

thread '<unnamed>' ($TID) panicked at $DIR/synchronized-panic-handler.rs:11:5:
thread '<unnamed>' ($TID) panicked at $DIR/synchronized-panic-handler.rs:12:5:
oops oh no woe is me
1 change: 1 addition & 0 deletions tests/ui/box/unit/unwind-unique.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//@ run-pass
//@ needs-unwind
//@ needs-threads
//@ ignore-backends: gcc

use std::thread;

Expand Down
1 change: 1 addition & 0 deletions tests/ui/c-variadic/inherent-method.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//@ run-pass
//@ ignore-backends: gcc
#![feature(c_variadic)]

#[repr(transparent)]
Expand Down
1 change: 1 addition & 0 deletions tests/ui/c-variadic/trait-method.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//@ run-pass
//@ ignore-backends: gcc
#![feature(c_variadic)]

#[repr(transparent)]
Expand Down
1 change: 1 addition & 0 deletions tests/ui/c-variadic/valid.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//@ run-pass
//@ ignore-backends: gcc
#![feature(c_variadic)]

// In rust (and C23 and above) `...` can be the only argument.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//@ proc-macro: ver-cfg-rel.rs
//@ revisions: assume no_assume
//@ [assume]compile-flags: -Z assume-incomplete-release
//@ ignore-backends: gcc
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there are multiple revisions, we just copy-paste the same @ignore-backends line N times? That seems weird, huh.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, my script just went wrong. Gonna send a fix, good catch!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lol, I genuinely thought that it was too specific to be an accident xD

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sadly no. ^^'

Don't confuse my incompetence with weird test setting. 😆


#![feature(cfg_version)]

Expand Down
1 change: 1 addition & 0 deletions tests/ui/codegen/issue-82833-slice-miscompile.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
//@ run-pass
//@ compile-flags: -Ccodegen-units=1 -Cllvm-args=--inline-threshold=0 -Clink-dead-code -Copt-level=0 -Cdebuginfo=2
//@ ignore-backends: gcc

// Make sure LLVM does not miscompile this.

Expand Down
1 change: 1 addition & 0 deletions tests/ui/codegen/llvm-args-invalid-flag.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//@ compile-flags: -Cllvm-args=-not-a-real-llvm-arg
//@ normalize-stderr: "--help" -> "-help"
//@ normalize-stderr: "\n(\n|.)*" -> ""
//@ ignore-backends: gcc

// I'm seeing "--help" locally, but "-help" in CI, so I'm normalizing it to just "-help".

Expand Down
1 change: 1 addition & 0 deletions tests/ui/codegen/remark-flag-functionality.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

//@ dont-check-compiler-stderr
//@ dont-require-annotations: NOTE
//@ ignore-backends: gcc

#[no_mangle]
#[inline(never)]
Expand Down
Loading
Loading