From ff8f1a3b94302c91de1d23a9df7461fbc1d491ec Mon Sep 17 00:00:00 2001 From: "Felix S. Klock II" Date: Thu, 6 Sep 2018 13:51:09 +0200 Subject: [PATCH] Allow some lints to let the ported run-pass/borrowck tests get through. --- .../run-pass/borrowck/borrowck-macro-interaction-issue-6304.rs | 2 ++ src/test/ui/run-pass/borrowck/borrowck-univariant-enum.rs | 1 + 2 files changed, 3 insertions(+) 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;