aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/diagnostics/fixes.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-09-11 22:11:59 +0100
committerGitHub <[email protected]>2020-09-11 22:11:59 +0100
commitc8623461a57e7882ac47b5da13a1a03efa58f603 (patch)
tree5559fe8ce90fff8f0e5ed9debf67a0c7306f668a /crates/ide/src/diagnostics/fixes.rs
parent199ebf110353da2da4d706f72adede96149ba977 (diff)
parent779ea2ea0a0aa70075d28d72dd96c1bc1e709300 (diff)
Merge #5981
5981: Properly preserve macro braces during dbg! removal r=jonas-schievink a=SomeoneToIgnore Do `dbg![2 + 2] * 5` -> `(2 + 2) * 5` This PR also implicitly handles the `{}` case too, but I decided not to add it into the test case since it's a compiler error on the latest stable rustc. Co-authored-by: Kirill Bulatov <[email protected]>
Diffstat (limited to 'crates/ide/src/diagnostics/fixes.rs')
0 files changed, 0 insertions, 0 deletions