Skip to content

Commit 98430c4

Browse files
committed
remove unused features from some tests
1 parent 0cbb9e6 commit 98430c4

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

tests/ui/lint/unused/issue-103320-must-use-ops.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
//@ check-pass
22

33
#![warn(unused_must_use)]
4-
#![feature(never_type)]
54

65
use std::ops::Add;
76
use std::ops::Sub;

tests/ui/lint/unused/issue-103320-must-use-ops.stderr

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
warning: unused return value of `add` that must be used
2-
--> $DIR/issue-103320-must-use-ops.rs:16:5
2+
--> $DIR/issue-103320-must-use-ops.rs:15:5
33
|
44
LL | x.add(4);
55
| ^^^^^^^^
@@ -16,7 +16,7 @@ LL | let _ = x.add(4);
1616
| +++++++
1717

1818
warning: unused return value of `sub` that must be used
19-
--> $DIR/issue-103320-must-use-ops.rs:18:5
19+
--> $DIR/issue-103320-must-use-ops.rs:17:5
2020
|
2121
LL | x.sub(4);
2222
| ^^^^^^^^
@@ -28,7 +28,7 @@ LL | let _ = x.sub(4);
2828
| +++++++
2929

3030
warning: unused return value of `mul` that must be used
31-
--> $DIR/issue-103320-must-use-ops.rs:20:5
31+
--> $DIR/issue-103320-must-use-ops.rs:19:5
3232
|
3333
LL | x.mul(4);
3434
| ^^^^^^^^
@@ -40,7 +40,7 @@ LL | let _ = x.mul(4);
4040
| +++++++
4141

4242
warning: unused return value of `div` that must be used
43-
--> $DIR/issue-103320-must-use-ops.rs:22:5
43+
--> $DIR/issue-103320-must-use-ops.rs:21:5
4444
|
4545
LL | x.div(4);
4646
| ^^^^^^^^
@@ -52,7 +52,7 @@ LL | let _ = x.div(4);
5252
| +++++++
5353

5454
warning: unused return value of `rem` that must be used
55-
--> $DIR/issue-103320-must-use-ops.rs:24:5
55+
--> $DIR/issue-103320-must-use-ops.rs:23:5
5656
|
5757
LL | x.rem(4);
5858
| ^^^^^^^^

tests/ui/never_type/auto-traits.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
//@ check-pass
22

33
#![feature(auto_traits)]
4-
#![feature(negative_impls)]
54
#![feature(never_type)]
65

76
fn main() {

tests/ui/process/process-panic-after-fork.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
//@ ignore-backends: gcc
99

1010
#![feature(rustc_private)]
11-
#![feature(never_type)]
1211
#![feature(panic_always_abort)]
1312

1413
#![allow(invalid_from_utf8)]

0 commit comments

Comments
 (0)