summary refs log tree commit diff
path: root/src/test/ui/lint/issue-47775-nested-macro-unnecessary-parens-arg.stderr
blob: ac5df471c5558d8d1e08307475a21af8d29f0f9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
warning: unnecessary parentheses around function argument
  --> $DIR/issue-47775-nested-macro-unnecessary-parens-arg.rs:32: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:13:9
   |
LL | #![warn(unused_parens)]
   |         ^^^^^^^^^^^^^