about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2021-01-22 14:30:21 +0000
committerGitHub <noreply@github.com>2021-01-22 14:30:21 +0000
commit70597f28f6a97015d3d02ee34a7fa076128f3f32 (patch)
tree6090bb2b16e425582d088922699946897da94ff4 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent3682a06dcff54a6b9188fd4395e26b316c7652f7 (diff)
parent1934eaf6d87df0eb557e80f9c6a63af8569c48bd (diff)
downloadrust-70597f28f6a97015d3d02ee34a7fa076128f3f32.tar.gz
rust-70597f28f6a97015d3d02ee34a7fa076128f3f32.zip
Rollup merge of #81241 - m-ou-se:force-expr-macro-rules, r=oli-obk
Turn alloc's force_expr macro into a regular macro_rules.

This turns `alloc`'s `force_expr` macro into a regular `macro_rules`.

Otherwise rust-analyzer doesn't understand `vec![]`. See https://github.com/rust-analyzer/rust-analyzer/issues/7349 and https://github.com/rust-lang/rust/pull/81080#issuecomment-764741721

Edit: See https://github.com/rust-lang/rust/pull/81241#issuecomment-764812660 for a discussion of alternatives.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions