rust/src/test/ui/lint/unused_parens_borrow.stderr

13 lines
316 B
Plaintext
Raw Normal View History

2020-03-27 15:56:58 -05:00
warning: unnecessary braces around assigned value
--> $DIR/unused_parens_borrow.rs:20:13
|
LL | let _ = { a.b };
| ^^^^^^^ help: remove these braces
|
note: the lint level is defined here
--> $DIR/unused_parens_borrow.rs:2:9
|
LL | #![warn(unused_braces)]
| ^^^^^^^^^^^^^