rust/tests
Aaron Hill 46ab14437e Don't flatten a block containing a single macro call
We no longer flatten a block that looks like this:

```rust
match val {
    pat => { macro_call!() }
}
```

Currently, rust ignores trailing semicolons in macro expansion in
expression position (see https://github.com/rust-lang/rust/issues/33953)

If this is changed, flattening a block with a macro call may break the
user's code - the trailing semicolon will no longer parse if the macro
call occurs immediately on the right-hand side of the match arm
(e.g. `pat => macro_call!()`)
2020-11-05 20:45:11 -06:00
..
cargo-fmt Add #[ignore] to test that runs external process (#3690) 2019-07-16 19:36:23 +09:00
config chore: backport 8157a3f0afe978d3e953420577f8344db7e905bf 2020-07-15 09:19:21 -05:00
coverage Replace WriteMode with EmitMode and backup bool 2018-05-21 14:14:09 +12:00
license-template fix: handling of empty str for license template path (#3804) 2019-09-24 09:24:05 +09:00
parser tests: add test for panic on new_parser_from_file 2020-11-02 18:31:51 -06:00
rustfmt Cargo fmt 2019-09-24 09:26:50 +09:00
source feat: v2 support for nested tuples w/o spaces 2020-11-02 18:31:51 -06:00
target Don't flatten a block containing a single macro call 2020-11-05 20:45:11 -06:00
writemode Fix line numbers in checkstyle output (#3694) 2019-08-19 11:11:35 +09:00