Skip to content

Commit be5fe05

Browse files
committed
Remove feature(nll) when compare mode is sufficient
1 parent ff71b80 commit be5fe05

File tree

301 files changed

+761
-1016
lines changed

Some content is hidden

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

301 files changed

+761
-1016
lines changed

src/test/codegen/enum-debug-niche-2.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
// CHECK: {{.*}}DIDerivedType{{.*}}tag: DW_TAG_member,{{.*}}name: "Error",{{.*}}extraData: i64 0{{[,)].*}}
1414

1515
#![feature(never_type)]
16-
#![feature(nll)]
1716

1817
#[derive(Copy, Clone)]
1918
pub struct Entity {

src/test/mir-opt/remove_fake_borrows.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
// ignore-wasm32-bare
44

5-
#![feature(nll)]
6-
75
fn match_guard(x: Option<&&i32>, c: bool) -> i32 {
86
match x {
97
Some(0) if c => 0,

src/test/run-fail/issue-51345.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// error-pattern: thread 'main' panicked at 'explicit panic'
22

3-
#![feature(nll)]
4-
53
fn main() {
64
let mut vec = vec![];
75
vec.push((vec.len(), panic!()));

src/test/run-pass/borrowck/borrowck-multiple-borrows-interior-boxes.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
#![allow(unused_variables)]
44
// Test case from #39963.
55

6-
#![feature(nll)]
7-
86
#[derive(Clone)]
97
struct Foo(Option<Box<Foo>>, Option<Box<Foo>>);
108

src/test/run-pass/borrowck/borrowck-unused-mut-locals.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// run-pass
2-
#![feature(nll)]
32
#![deny(unused_mut)]
43

54
#[derive(Debug)]

src/test/run-pass/borrowck/two-phase-bin-ops.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
// run-pass
2-
// revisions: lxl nll
3-
4-
#![cfg_attr(nll, feature(nll))]
5-
62
use std::ops::{AddAssign, SubAssign, MulAssign, DivAssign, RemAssign};
73
use std::ops::{BitAndAssign, BitOrAssign, BitXorAssign, ShlAssign, ShrAssign};
84

src/test/run-pass/issues/issue-24535-allow-mutable-borrow-in-match-guard.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
// See further discussion on rust-lang/rust#24535,
66
// rust-lang/rfcs#1006, and rust-lang/rfcs#107
77

8-
#![feature(nll)]
98
#![feature(bind_by_move_pattern_guards)]
109

1110
fn main() {

src/test/run-pass/issues/issue-48962.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// run-pass
22
#![allow(unused_must_use)]
33
// Test that we are able to reinitialize box with moved referent
4-
#![feature(nll)]
54
static mut ORDER: [usize; 3] = [0, 0, 0];
65
static mut INDEX: usize = 0;
76

src/test/run-pass/issues/issue-51345.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// run-pass
22
#![allow(unreachable_code)]
3-
#![feature(nll)]
43

54
fn main() {
65
let mut v = Vec::new();

src/test/run-pass/nll/issue-47153-generic-const.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// Regression test for #47153: constants in a generic context (such as
44
// a trait) used to ICE.
55

6-
#![feature(nll)]
76
#![allow(warnings)]
87

98
trait Foo {

0 commit comments

Comments
 (0)