mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 10:05:06 +03:00
Update suggestion from parenthesized-box-expr-message to reflect new output spacing.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
fn main() {
|
||||
box (1 + 1)
|
||||
//~^ HELP try using `box()` instead:
|
||||
//~| SUGGESTION box() (1 + 1)
|
||||
//~^ HELP try using `box ()` instead:
|
||||
//~| SUGGESTION box () (1 + 1)
|
||||
; //~ ERROR expected expression, found `;`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user