diff options
| author | bors <bors@rust-lang.org> | 2023-03-13 14:35:56 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-03-13 14:35:56 +0000 |
| commit | 945e42fc1162f51b9ea859cc97cdd848ed1724f7 (patch) | |
| tree | 079cb8a63bf392df72f4ce91db4023b683f01539 /tests/rustdoc-js-std/parser-errors.js | |
| parent | e65ad6f5d0c97d4b20e68c9c81c3f35225563fa6 (diff) | |
| parent | 555f56862e10cda545c9b7de21f68c7d62266c35 (diff) | |
| download | rust-945e42fc1162f51b9ea859cc97cdd848ed1724f7.tar.gz rust-945e42fc1162f51b9ea859cc97cdd848ed1724f7.zip | |
Auto merge of #10470 - Alexendoo:match-single-binding-semicolon, r=giraffate
Fix semicolon insertion in `match_single_binding`
changelog: [`match_single_binding`]: Fix missing semicolon after the suggestion
Fixes #10447
Also fixes an edge case for unit returning macros in expression contexts:
```rust
f(match 1 {
_ => println!("foo"),
});
```
would suggest
```rust
f(println!("foo"););
```
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions
