]> git.lizzy.rs Git - rust.git/commitdiff
Allow various lints in `src/test/run-pass-fulldeps/` so that it can continue under...
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Mon, 17 Sep 2018 09:18:35 +0000 (11:18 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Fri, 21 Sep 2018 14:21:39 +0000 (16:21 +0200)
(One of them led me to file rust-lang/rust#54288.)

37 files changed:
src/test/run-pass-fulldeps/ast_stmt_expr_attr.rs
src/test/run-pass-fulldeps/derive-no-std-not-supported.rs
src/test/run-pass-fulldeps/deriving-encodable-decodable-box.rs
src/test/run-pass-fulldeps/deriving-encodable-decodable-cell-refcell.rs
src/test/run-pass-fulldeps/deriving-hygiene.rs
src/test/run-pass-fulldeps/dropck_tarena_sound_drop.rs
src/test/run-pass-fulldeps/issue-11881.rs
src/test/run-pass-fulldeps/issue-14021.rs
src/test/run-pass-fulldeps/issue-15149.rs
src/test/run-pass-fulldeps/issue-15924.rs
src/test/run-pass-fulldeps/issue-18763-quote-token-tree.rs
src/test/run-pass-fulldeps/issue-24972.rs
src/test/run-pass-fulldeps/issue-2804.rs
src/test/run-pass-fulldeps/issue-4016.rs
src/test/run-pass-fulldeps/issue-40663.rs
src/test/run-pass-fulldeps/macro-crate-multi-decorator-literals.rs
src/test/run-pass-fulldeps/macro-crate-multi-decorator.rs
src/test/run-pass-fulldeps/macro-crate.rs
src/test/run-pass-fulldeps/macro-quote-cond.rs
src/test/run-pass-fulldeps/proc-macro/call-site.rs
src/test/run-pass-fulldeps/proc-macro/derive-attr-cfg.rs
src/test/run-pass-fulldeps/proc-macro/derive-same-struct.rs
src/test/run-pass-fulldeps/proc-macro/derive-two-attrs.rs
src/test/run-pass-fulldeps/proc-macro/derive-union.rs
src/test/run-pass-fulldeps/proc-macro/empty-crate.rs
src/test/run-pass-fulldeps/proc-macro/hygiene_example.rs
src/test/run-pass-fulldeps/proc-macro/issue-39889.rs
src/test/run-pass-fulldeps/proc-macro/issue-50061.rs
src/test/run-pass-fulldeps/proc-macro/lifetimes.rs
src/test/run-pass-fulldeps/proc-macro/load-two.rs
src/test/run-pass-fulldeps/proc-macro/smoke.rs
src/test/run-pass-fulldeps/proc-macro/struct-field-macro.rs
src/test/run-pass-fulldeps/qquote.rs
src/test/run-pass-fulldeps/quote-tokens.rs
src/test/run-pass-fulldeps/quote-unused-sp-no-warning.rs
src/test/run-pass-fulldeps/regions-mock-tcx.rs
src/test/run-pass-fulldeps/rename-directory.rs

index 6a706bdb9b2b6af133d24c63b3da2eaa57afe8f4..6ae06f2d56190879351966c43a44bf1822225864 100644 (file)
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(unused_imports)]
 // ignore-cross-compile
 
 #![feature(rustc_private)]
index a0747e0fbf59f9d94081d7173fdcf2ef212899fb..1e42355f83421ad926c8a761c9062f4c940721e4 100644 (file)
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(dead_code)]
 #![feature(rustc_private)]
 #![no_std]
 
index 4c5b3259902eb39a7479bbd09baeeae8d9393ed3..6f86e42462ed4fabe686d124056670042756b632 100644 (file)
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(unused_imports)]
 
 #![feature(box_syntax)]
 #![feature(rustc_private)]
index 6e5eb86c584116ab287768b69d112726ebc516a7..15a007f32be9a1cce556744ebf9924eafcdf071c 100644 (file)
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(unused_imports)]
 // This briefly tests the capability of `Cell` and `RefCell` to implement the
 // `Encodable` and `Decodable` traits via `#[derive(Encodable, Decodable)]`
 
index 532f2456599763b4fd897f2ee7b746af108ab02b..b718d778d2102a8d84e8363187cd11a1ee03d8b4 100644 (file)
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(non_upper_case_globals)]
 #![feature(rustc_private)]
 extern crate serialize;
 
index db30bfbf747901499fea6b30f1c9260a5f184dfc..48f54188796798c696677466b251f61520ba2141 100644 (file)
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(unknown_lints)]
 // Check that an arena (TypedArena) can carry elements whose drop
 // methods might access borrowed data, as long as the borrowed data
 // has lifetime that strictly outlives the arena itself.
index 4f419e70074fc673a329cecb20e89b9f859b2612..d9edddccd4b2e2035e37c28227e4994ed5553acc 100644 (file)
@@ -8,6 +8,9 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(unused_must_use)]
+#![allow(dead_code)]
+#![allow(unused_imports)]
 
 #![feature(rustc_private)]
 
index 907967d115d583ec7ecc67ce5e7e6ddc6fede761..01fe77da0aa383d851ad7f40661ecbb17900e24a 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(unused_mut)]
+#![allow(unused_imports)]
 #![feature(rustc_private)]
 
 extern crate serialize;
index 15ac1d55cc8c41a2164112f0f917eac8dff55bda..362aeabd60ee69cfa9fc067e57136fd9f48b327a 100644 (file)
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(unused_variables)]
 // no-prefer-dynamic
 // ignore-cross-compile
 
index 0c208773884d4841d57237eadd2c9bc01a1c79a5..717a35707b415bab9b23b252de9d84f4798c8045 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(unused_imports)]
+#![allow(unused_must_use)]
 // pretty-expanded FIXME #23616
 
 #![feature(rustc_private)]
index 03311d76e46d43619f6c3a1731bcbbf68eb1e68c..016f61395295d39ea84c8c5769db4771dde739c5 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(dead_code)]
+#![allow(unused_imports)]
 // ignore-cross-compile
 #![feature(quote, rustc_private)]
 
index ae7eb84d3e8eca8524feafae48d2b9ed2c102efc..6abdf98bb384479e2743d8a8f475dcda919e13da 100644 (file)
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(dead_code)]
 #![feature(rustc_private)]
 
 extern crate serialize;
index f999d2d0ed99c8899a3cbe00ba8db91a05bb766d..2e1104afae0318f2018d543cfb1e0df77f79da26 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(non_camel_case_types)]
+#![allow(dead_code)]
 #![feature(rustc_private)]
 
 extern crate serialize;
index bc3fa162e02bda34d8e145d4819a49b5b28c839b..2d72b42a5bd7b333bb402d411b51ab19a44b7723 100644 (file)
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(dead_code)]
 
 #![feature(rustc_private)]
 
index 8cb9dc4a1b6ec5ca2aab7dc2c9cb1c1a781874c4..8633e906082c6cce8f3a36dd4b6e5f9954f8a393 100644 (file)
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(dead_code)]
 // aux-build:custom_derive_plugin.rs
 // ignore-stage1
 
index 86d7cd54d973949b9f466e213ac09caca29c90f4..5d00b5944346ea4b0d20ec0a68f624e8325e19cf 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(plugin_as_library)]
+#![allow(unused_imports)]
 // aux-build:macro_crate_test.rs
 // ignore-stage1
 
index 9245e85edd6ddf085351f180bea6765a2c0f4063..6e8314b968092864445a0107839430bba8e78f4a 100644 (file)
@@ -8,6 +8,10 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(plugin_as_library)]
+#![allow(dead_code)]
+#![allow(unused_variables)]
+#![allow(unused_imports)]
 // aux-build:macro_crate_test.rs
 // ignore-stage1
 
index 06f78b10e5e93071231b19f591f75f08a3bdd9dc..c3e7787cf7f30e216e95a26084452f9dc200848b 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(plugin_as_library)]
+#![allow(dead_code)]
 // aux-build:macro_crate_test.rs
 // ignore-stage1
 
index 3eb7e8cc9a46dfbb2ff6d4dc6ea38dfc91158ca4..4c36f097ec1149f810d6f3387647035f28668591 100644 (file)
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(unused_parens)]
 // aux-build:cond_plugin.rs
 // ignore-stage1
 
index dfe97eb587cfb9f1cb6c60406419b880014cd51d..9d2120e6764f74ac9653232f5d5f549b87e48059 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(unused_variables)]
+#![allow(unused_imports)]
 // aux-build:call-site.rs
 // ignore-stage1
 
index 93023f8f8edfc25e2a982babb5e48a9f86e00091..e7e8b3d665ea1731fa7c5b5cbca64481b75cc3ce 100644 (file)
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(dead_code)]
 // aux-build:derive-attr-cfg.rs
 // ignore-stage1
 
index ba5a639a759cb826f156524c92730897f7420119..64ad57107c7b26029d09d88172eff1769bb541c9 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(path_statements)]
+#![allow(dead_code)]
 // aux-build:derive-same-struct.rs
 // ignore-stage1
 
index 0df0288216eff20bca370b29164fbfd24c59248e..9c2ba481f5e97e2c76119b483a970962c6cb4cd4 100644 (file)
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(dead_code)]
 // aux-build:derive-two-attrs.rs
 
 extern crate derive_two_attrs as foo;
index 71807e21d962e4dbe9bac59f09d8559115703940..298a652aacceb113c7036cf7b325a94999e7e385 100644 (file)
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(unused_variables)]
 // aux-build:derive-union.rs
 // ignore-stage1
 
index 38a2716aee77beaa56fc164d36e91d26ee8645b0..2b0a57dafefc96fc4caaf9c217ae8f7a999181dc 100644 (file)
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(unused_imports)]
 // aux-build:empty-crate.rs
 // ignore-stage1
 
index 579e8c337733af325147ecb3fbb7ff98e17de121..2d15b4e60b4261e0820b99f1b01c109ef5232e51 100644 (file)
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(unused_macros)]
 // aux-build:hygiene_example_codegen.rs
 // aux-build:hygiene_example.rs
 // ignore-stage1
index 3fc7446815eb4cf9dacf5f5dc3a07c66519ee50b..f722109260103550092d0fbd53c8999fef6c85d8 100644 (file)
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(dead_code)]
 // aux-build:issue-39889.rs
 // ignore-stage1
 
index 410faaeb3eeaccf7d646abcdcfa3797ee346d0a5..046591665750cbf296458f2c62ef7f87b8536d73 100644 (file)
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(path_statements)]
 // aux-build:issue-50061.rs
 // ignore-stage1
 
index c73441e30e6d57b7933f57be500715eb3ed9fd6d..79d6d27dc598daa91f732091ca9326de744c62db 100644 (file)
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(unused_variables)]
 // aux-build:lifetimes.rs
 // ignore-stage1
 
index 67c12377814704d84d2abcc32464ab60d8e2996a..cf1e076f270b603701c564343502b0f2addb8d4c 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(path_statements)]
+#![allow(dead_code)]
 // aux-build:derive-atob.rs
 // aux-build:derive-ctod.rs
 // ignore-stage1
index 54d651df1f9afacc68e87a89dea3b2cb3af1fe7e..49011e19a513d724e689b315c4956fcc0c808067 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(unused_must_use)]
+#![allow(path_statements)]
 // aux-build:derive-a.rs
 // ignore-stage1
 
index c9056e08d4426faba5d9c2fffdcced41ebe4ed6e..db52aa5d3a62ac667fba09c9d338f70813882bf5 100644 (file)
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(dead_code)]
 // aux-build:derive-nothing.rs
 // ignore-stage1
 
index 55fed8693a06517eb4b0d2562d82e9987636071b..ec12ad17e8f88ee431a88fc07e31ce4474dd45d7 100644 (file)
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(unused_imports)]
 // ignore-cross-compile
 
 #![feature(quote, rustc_private)]
index 8e6a69cb58479e1af384cb19729e1554ca4d12dc..7f46e0928a2fb680ed033cf18d509e4768d7cc31 100644 (file)
@@ -8,6 +8,9 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(dead_code)]
+#![allow(unused_variables)]
+#![allow(unused_imports)]
 // ignore-cross-compile
 #![feature(quote, rustc_private)]
 
index d3be1ddcb8c32f274983f7b1649e0b8a83ba0853..7e85becfc3c69ceb5e40bb0df47afe32632ba69a 100644 (file)
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(dead_code)]
 // ignore-cross-compile
 #![feature(quote, rustc_private)]
 #![deny(unused_variables)]
index 670f5380d81fa4666ef45ff4f6c626f8f25af368..013c331d0fd321ef783e7f37a1a318dd5f14dc83 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(dead_code)]
+#![allow(unused_imports)]
 
 // Test a sample usage pattern for regions. Makes use of the
 // following features:
index 417707e89322c27611f685ec7a724d73c87a7a3c..099f3e58c6c9cf728ae73b6ddeb42a1fc590b812 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(unused_must_use)]
+#![allow(unused_imports)]
 // This test can't be a unit test in std,
 // because it needs TempDir, which is in extra