bors 8af4e09605 Auto merge of #4458 - flip1995:block_in_if_ext_macro, r=phansch
Allow block_in_if_{stmt,expr} in external macro

I found this by running `cargo fix --clippy` on quite a big codebase.

You could refactor this assert to
```rust
let block_expr = _;
assert!(block_expr);
```

but,
1. it doesn't increase the readability IMO
2. That isn't possible in a `debug_assert!`

I'm not sure though, if we should allow this for macros in general or just for external macros.

changelog: Allow `block_in_if_{stmt,expr}` in external macros
2019-09-09 14:55:33 +00:00
..
2019-08-26 10:22:34 +02:00
2019-08-26 15:28:35 +02:00
2019-09-05 00:24:45 +09:00
2019-08-23 09:16:50 +00:00
2019-08-23 09:16:50 +00:00
2019-08-23 09:16:50 +00:00
2019-08-19 20:22:42 +12:00
2019-09-03 18:56:23 +02:00
2019-09-03 18:56:23 +02:00
2019-08-29 17:34:33 +02:00
2019-09-05 22:45:52 +09:00
2019-09-05 22:45:52 +09:00
2019-09-05 22:45:52 +09:00
2019-08-28 07:23:23 +02:00
2019-08-28 07:23:23 +02:00
2019-08-28 07:23:23 +02:00
2019-08-23 05:42:45 +00:00
2019-08-24 22:09:02 +02:00