summary refs log tree commit diff
path: root/src/test/ui/lint/unused_braces_borrow.stderr
blob: f018c46fcd3c6ae3772d60b184e2267c3f61fd77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
warning: unnecessary braces around function argument
  --> $DIR/unused_braces_borrow.rs:24:13
   |
LL |     consume({ a.b });
   |             ^^^^^^^ help: remove these braces
   |
note: the lint level is defined here
  --> $DIR/unused_braces_borrow.rs:4:9
   |
LL | #![warn(unused_braces)]
   |         ^^^^^^^^^^^^^

warning: 1 warning emitted