]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/issue-47775-nested-macro-unnecessary-parens-arg.stderr
Move parse-fail tests to UI
[rust.git] / src / test / ui / lint / issue-47775-nested-macro-unnecessary-parens-arg.stderr
1 warning: unnecessary parentheses around function argument
2   --> $DIR/issue-47775-nested-macro-unnecessary-parens-arg.rs:32:83
3    |
4 LL |         #[allow(dead_code)] fn the_night_for_the_morrow() -> Option<isize> { Some((2)) }
5    |                                                                                   ^^^ help: remove these parentheses
6 ...
7 LL | and_the_heavens_reject_not!();
8    | ------------------------------ in this macro invocation
9    |
10 note: lint level defined here
11   --> $DIR/issue-47775-nested-macro-unnecessary-parens-arg.rs:13:9
12    |
13 LL | #![warn(unused_parens)]
14    |         ^^^^^^^^^^^^^
15