about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2018-09-06 13:51:09 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2018-09-06 13:51:09 +0200
commitff8f1a3b94302c91de1d23a9df7461fbc1d491ec (patch)
tree693395a5e995d9168159f59cacf30f3dc148c644
parent4a7c8cc4b9b65650639261d892a02fab0da33bfd (diff)
downloadrust-ff8f1a3b94302c91de1d23a9df7461fbc1d491ec.tar.gz
rust-ff8f1a3b94302c91de1d23a9df7461fbc1d491ec.zip
Allow some lints to let the ported run-pass/borrowck tests get through.
-rw-r--r--src/test/ui/run-pass/borrowck/borrowck-macro-interaction-issue-6304.rs2
-rw-r--r--src/test/ui/run-pass/borrowck/borrowck-univariant-enum.rs1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/test/ui/run-pass/borrowck/borrowck-macro-interaction-issue-6304.rs b/src/test/ui/run-pass/borrowck/borrowck-macro-interaction-issue-6304.rs
index 7395fcd7171..3f81c2e5619 100644
--- a/src/test/ui/run-pass/borrowck/borrowck-macro-interaction-issue-6304.rs
+++ b/src/test/ui/run-pass/borrowck/borrowck-macro-interaction-issue-6304.rs
@@ -9,6 +9,8 @@
 // except according to those terms.
 
 // run-pass
+#![allow(unconditional_recursion)]
+
 // Check that we do not ICE when compiling this
 // macro, which reuses the expression `$id`
 
diff --git a/src/test/ui/run-pass/borrowck/borrowck-univariant-enum.rs b/src/test/ui/run-pass/borrowck/borrowck-univariant-enum.rs
index 431d50a80c7..0a8d3075336 100644
--- a/src/test/ui/run-pass/borrowck/borrowck-univariant-enum.rs
+++ b/src/test/ui/run-pass/borrowck/borrowck-univariant-enum.rs
@@ -9,6 +9,7 @@
 // except according to those terms.
 
 // run-pass
+#![allow(non_camel_case_types)]
 
 use std::cell::Cell;