Skip to content

Commit c9d9cc6

Browse files
committed
Add #![allow(..)] as necessary to get re-migrated run-pass tests compiling with clean stderr again.
Most were added mechanically.
1 parent 2080474 commit c9d9cc6

File tree

822 files changed

+1030
-67
lines changed

Some content is hidden

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

822 files changed

+1030
-67
lines changed

src/test/run-pass/array-slice-vec/array_const_index-1.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// run-pass
12+
#![allow(dead_code)]
1213
#![allow(stable_features)]
1314

1415
#![feature(const_indexing)]

src/test/run-pass/array-slice-vec/check-static-mut-slices.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// run-pass
12+
#![allow(dead_code)]
1213

1314
// Checks that mutable static items can have mutable slices
1415

src/test/run-pass/array-slice-vec/evec-slice.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// run-pass
12+
#![allow(unused_assignments)]
1213

1314
pub fn main() {
1415
let x : &[isize] = &[1,2,3,4,5];

src/test/run-pass/array-slice-vec/slice.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// run-pass
12+
#![allow(unused_variables)]
1213

1314
// Test slicing sugar.
1415

src/test/run-pass/array-slice-vec/vec-late-init.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// run-pass
12+
#![allow(unused_mut)]
1213

1314

1415
pub fn main() {

src/test/run-pass/array-slice-vec/vec-macro-with-brackets.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// run-pass
12+
#![allow(unused_variables)]
1213

1314
// pretty-expanded FIXME #23616
1415

src/test/run-pass/array-slice-vec/vec-matching-legal-tail-element-borrow.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// run-pass
12+
#![allow(unused_variables)]
1213

1314
#![feature(slice_patterns)]
1415

src/test/run-pass/associated-consts/associated-const-range-match-patterns.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// run-pass
12+
#![allow(dead_code)]
1213

1314
struct Foo;
1415

src/test/run-pass/associated-types/associated-types-cc.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// run-pass
12+
#![allow(unused_variables)]
1213
// aux-build:associated-types-cc-lib.rs
1314

1415
// Test that we are able to reference cross-crate traits that employ

src/test/run-pass/associated-types/associated-types-duplicate-binding-in-env-hrtb.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// run-pass
12+
#![allow(dead_code)]
1213
// Check that we do not report ambiguities when equivalent predicates
1314
// (modulo bound lifetime names) appears in the environment
1415
// twice. Issue #21965.

0 commit comments

Comments
 (0)