summary refs log tree commit diff
path: root/src/test/ui/lint/issue-47775-nested-macro-unnecessary-parens-arg.stderr
blob: 57cdcd70e9db4ae88c1b9715c2775a826b93b4e5 (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: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)]
   |         ^^^^^^^^^^^^^