diff options
| author | bors <bors@rust-lang.org> | 2021-09-03 06:10:27 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-09-03 06:10:27 +0000 |
| commit | fbdff7fae941bce21fd3047f87777c84b866850e (patch) | |
| tree | 8d62d5441c2f92be6538c8cf74f316bd396246ce /compiler/rustc_llvm/src | |
| parent | 29d8fb746d3c7c0364f123e3efde90700b93aed3 (diff) | |
| parent | 99407584161510e5ab3c6453700537bf6123e158 (diff) | |
| download | rust-fbdff7fae941bce21fd3047f87777c84b866850e.tar.gz rust-fbdff7fae941bce21fd3047f87777c84b866850e.zip | |
Auto merge of #88428 - petrochenkov:stmtid, r=Aaron1011
expand: Treat more macro calls as statement macro calls This PR implements the suggestion from https://github.com/rust-lang/rust/pull/87981#issuecomment-906641052 and treats fn-like macro calls inside `StmtKind::Item` and `StmtKind::Semi` as statement macro calls, which is consistent with treatment of attribute invocations in the same positions and with token-based macro expansion model in general. This also allows to remove a special case in `NodeId` assignment (previously tried in #87779), and to use statement `NodeId`s for linting (`assign_id!`). r? `@Aaron1011`
Diffstat (limited to 'compiler/rustc_llvm/src')
0 files changed, 0 insertions, 0 deletions
