Remove failing test case

This commit is contained in:
Georg Semmler 2019-12-06 15:09:01 +01:00
parent 3aa9902025
commit 9598cf416d
No known key found for this signature in database
GPG key ID: A87BCEE5205CE489
2 changed files with 0 additions and 18 deletions

View file

@ -17,10 +17,7 @@ macro_rules! the_worship_the_heart_lifts_above {
macro_rules! and_the_heavens_reject_not {
() => {
// ↓ But let's test that we still lint for unused parens around
// function args inside of simple, one-deep macros.
#[allow(dead_code)] fn the_night_for_the_morrow() -> Option<isize> { Some((2)) }
//~^ WARN unnecessary parentheses around function argument
}
}

View file

@ -1,15 +0,0 @@
warning: unnecessary parentheses around function argument
--> $DIR/issue-47775-nested-macro-unnecessary-parens-arg.rs:22:83
|
LL | #[allow(dead_code)] fn the_night_for_the_morrow() -> Option<isize> { Some((2)) }
| ^^^ help: remove these parentheses
...
LL | and_the_heavens_reject_not!();
| ------------------------------ in this macro invocation
|
note: lint level defined here
--> $DIR/issue-47775-nested-macro-unnecessary-parens-arg.rs:3:9
|
LL | #![warn(unused_parens)]
| ^^^^^^^^^^^^^