Skip to content

Commit 4fc6247

Browse files
committed
Bless tests/ui/
1 parent ee35ae5 commit 4fc6247

File tree

66 files changed

+115
-23
lines changed

Some content is hidden

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

66 files changed

+115
-23
lines changed

tests/ui/abi/extern/extern-pass-FiveU16s.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//@ run-pass
22
#![allow(improper_ctypes)]
3+
#![allow(dead_code)]
34

45
// Test a foreign function that accepts and returns a struct by value.
56

tests/ui/abi/extern/extern-pass-TwoU16s.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//@ run-pass
22
#![allow(improper_ctypes)]
3+
#![allow(dead_code)]
34

45
// Test a foreign function that accepts and returns a struct
56
// by value.

tests/ui/abi/extern/extern-pass-TwoU32s.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//@ run-pass
22
#![allow(improper_ctypes)]
3+
#![allow(dead_code)]
34

45
// Test a foreign function that accepts and returns a struct
56
// by value.

tests/ui/abi/extern/extern-pass-TwoU64s.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//@ run-pass
22
#![allow(improper_ctypes)]
3+
#![allow(dead_code)]
34

45
// Test a foreign function that accepts and returns a struct
56
// by value.

tests/ui/abi/extern/extern-pass-TwoU8s.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//@ run-pass
22
#![allow(improper_ctypes)]
3+
#![allow(dead_code)]
34

45
// Test a foreign function that accepts and returns a struct
56
// by value.

tests/ui/abi/homogenous-floats-target-feature-mixup.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
#![allow(overflowing_literals)]
1111
#![allow(unused_variables)]
12+
#![allow(dead_code)]
1213

1314
use std::process::{Command, ExitStatus};
1415
use std::env;

tests/ui/async-await/drop-order/drop-order-for-async-fn-parameters-by-ref-binding.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
//@ run-pass
44

55
#![allow(unused_variables)]
6+
#![allow(dead_code)]
67

78
// Test that the drop order for parameters in a fn and async fn matches up. Also test that
89
// parameters (used or unused) are not dropped until the async fn completes execution.

tests/ui/async-await/drop-order/drop-order-for-async-fn-parameters.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
//@[nomiropt]compile-flags: -Z mir-opt-level=0
77

88
#![allow(unused_variables)]
9+
#![allow(dead_code)]
910

1011
// Test that the drop order for parameters in a fn and async fn matches up. Also test that
1112
// parameters (used or unused) are not dropped until the async fn completes execution.

tests/ui/async-await/drop-order/drop-order-for-locals-when-cancelled.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#![allow(unused_variables)]
77
#![allow(unused_must_use)]
88
#![allow(path_statements)]
9+
#![allow(dead_code)]
910

1011
// Test that the drop order for locals in a fn and async fn matches up.
1112
extern crate arc_wake;

tests/ui/async-await/drop-order/drop-order-for-temporary-in-tail-return-expr.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
//@[nomiropt]compile-flags: -Z mir-opt-level=0
77

88
#![allow(unused_variables)]
9+
#![allow(dead_code)]
910

1011
// Test the drop order for parameters relative to local variables and
1112
// temporaries created in the tail return expression of the function

0 commit comments

Comments
 (0)