Skip to content

Commit 43061d3

Browse files
committed
Allow various lints in src/test/run-pass-fulldeps/ so that it can continue under ui test mode.
(One of them led me to file #54288.)
1 parent 1df6d42 commit 43061d3

37 files changed

+56
-0
lines changed

src/test/run-pass-fulldeps/ast_stmt_expr_attr.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
#![allow(unused_imports)]
1112
// ignore-cross-compile
1213

1314
#![feature(rustc_private)]

src/test/run-pass-fulldeps/derive-no-std-not-supported.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
#![allow(dead_code)]
1112
#![feature(rustc_private)]
1213
#![no_std]
1314

src/test/run-pass-fulldeps/deriving-encodable-decodable-box.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
#![allow(unused_imports)]
1112

1213
#![feature(box_syntax)]
1314
#![feature(rustc_private)]

src/test/run-pass-fulldeps/deriving-encodable-decodable-cell-refcell.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
#![allow(unused_imports)]
1112
// This briefly tests the capability of `Cell` and `RefCell` to implement the
1213
// `Encodable` and `Decodable` traits via `#[derive(Encodable, Decodable)]`
1314

src/test/run-pass-fulldeps/deriving-hygiene.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
#![allow(non_upper_case_globals)]
1112
#![feature(rustc_private)]
1213
extern crate serialize;
1314

src/test/run-pass-fulldeps/dropck_tarena_sound_drop.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
#![allow(unknown_lints)]
1112
// Check that an arena (TypedArena) can carry elements whose drop
1213
// methods might access borrowed data, as long as the borrowed data
1314
// has lifetime that strictly outlives the arena itself.

src/test/run-pass-fulldeps/issue-11881.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
#![allow(unused_must_use)]
12+
#![allow(dead_code)]
13+
#![allow(unused_imports)]
1114

1215
#![feature(rustc_private)]
1316

src/test/run-pass-fulldeps/issue-14021.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+
#![allow(unused_mut)]
12+
#![allow(unused_imports)]
1113
#![feature(rustc_private)]
1214

1315
extern crate serialize;

src/test/run-pass-fulldeps/issue-15149.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
#![allow(unused_variables)]
1112
// no-prefer-dynamic
1213
// ignore-cross-compile
1314

src/test/run-pass-fulldeps/issue-15924.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+
#![allow(unused_imports)]
12+
#![allow(unused_must_use)]
1113
// pretty-expanded FIXME #23616
1214

1315
#![feature(rustc_private)]

0 commit comments

Comments
 (0)