Skip to content

Commit f3b766d

Browse files
committed
Add // run-pass to collection of tests.
1 parent 76ceedd commit f3b766d

File tree

139 files changed

+278
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+278
-0
lines changed

src/test/ui/run-pass/allocator/custom.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+
// run-pass
12+
1113
// aux-build:helper.rs
1214
// no-prefer-dynamic
1315

src/test/ui/run-pass/allocator/xcrate-use.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+
// run-pass
12+
1113
// aux-build:custom.rs
1214
// aux-build:helper.rs
1315
// no-prefer-dynamic

src/test/ui/run-pass/allocator/xcrate-use2.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+
// run-pass
12+
1113
// aux-build:custom.rs
1214
// aux-build:custom-as-global.rs
1315
// aux-build:helper.rs

src/test/ui/run-pass/bench/issue-32062.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+
// run-pass
12+
1113
// pretty-expanded FIXME #23616
1214

1315
fn main() {

src/test/ui/run-pass/ctfe/assoc-const.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+
// run-pass
12+
1113
trait Nat {
1214
const VALUE: usize;
1315
}

src/test/ui/run-pass/ctfe/bswap-const.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+
// run-pass
12+
1113
#![feature(core_intrinsics)]
1214

1315
use std::intrinsics;

src/test/ui/run-pass/ctfe/chained-constants-stackoverflow.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+
// run-pass
12+
1113
// https://github.com/rust-lang/rust/issues/34997
1214

1315
pub const CST_1: u32 = 0;

src/test/ui/run-pass/ctfe/const-block-non-item-statement-3.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+
// run-pass
12+
1113
#![feature(const_let)]
1214

1315
type Array = [u32; { let x = 2; 5 }];

src/test/ui/run-pass/ctfe/const-block-non-item-statement.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+
// run-pass
12+
1113
#![feature(const_let)]
1214

1315
enum Foo {

src/test/ui/run-pass/ctfe/const-fn-destructuring-arg.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+
// run-pass
12+
1113
// test that certain things are disallowed in constant functions
1214

1315
#![feature(const_fn, const_let)]

0 commit comments

Comments
 (0)