fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
348 B14 linesraw
1warning: unnecessary braces around function argument
2  --> $DIR/unused_braces_borrow.rs:22:13
3   |
4LL |     consume({ a.b });
5   |             ^^^^^^^ help: remove these braces
6   |
7note: the lint level is defined here
8  --> $DIR/unused_braces_borrow.rs:2:9
9   |
10LL | #![warn(unused_braces)]
11   |         ^^^^^^^^^^^^^
12
13warning: 1 warning emitted
14