]> git.lizzy.rs Git - rust.git/commitdiff
Allow some lints to let the ported run-pass/borrowck tests get through.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 6 Sep 2018 11:51:09 +0000 (13:51 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 6 Sep 2018 11:51:09 +0000 (13:51 +0200)
src/test/ui/run-pass/borrowck/borrowck-macro-interaction-issue-6304.rs
src/test/ui/run-pass/borrowck/borrowck-univariant-enum.rs

index 7395fcd71715890590278d48148e897d887fd2eb..3f81c2e5619e0035ce4c16ca9dd7ca8afad6ce63 100644 (file)
@@ -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`
 
index 431d50a80c774506d7afdc8d3db71c790a5d77ea..0a8d30753362768d63abb2cfc1cd5542bcdb2b8f 100644 (file)
@@ -9,6 +9,7 @@
 // except according to those terms.
 
 // run-pass
+#![allow(non_camel_case_types)]
 
 use std::cell::Cell;