You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ echo'fn main() { let z = (x as f64 / y as f64).floor() as usize; }'| CFG_RELEASE_CHANNEL=dev CFG_RELEASE=1.48.0 cargo +nightly-2020-09-16 run --bin rustfmt --features rustfmt
Against the parent commit of 6646248 (correct output):
fnmain(){let z = (x asf64 / y asf64).floor()asusize;}
Against 6646248, and all the way through current master (17d90ca as of filing):
fnmain(){let z = (x asf64 / y asf64).floor()asf64 / y asf64).floor()asf64 / y asf64).floor()asusize;}
error: unexpected closing delimiter: `)` --> src/main.rs:3:26 |3 | as f64 / y as f64).floor() as usize; | ^ unexpected closing delimitererror: mismatched closing delimiter: `)` --> src/main.rs:2:60 |1 | fn main() { | - unclosed delimiter2 | let z = (x as f64 / y as f64).floor() as f64 / y as f64).floor() | ^ mismatched closing delimiter