Remove failing test case
This commit is contained in:
parent
3aa9902025
commit
9598cf416d
2 changed files with 0 additions and 18 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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)]
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue