diff options
| author | bors <bors@rust-lang.org> | 2021-11-05 14:42:32 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-11-05 14:42:32 +0000 |
| commit | 9a60a93cacbdf76c45f96ac045c74251c3aa413b (patch) | |
| tree | 419414de51f1a1a742103a0a69bc3b8c3736e908 /compiler/rustc_codegen_llvm/src | |
| parent | 85e25923e1e818cd71f196a39874c699a445e980 (diff) | |
| parent | 5b1b6a22768dfef95da1cd041069600529da07bf (diff) | |
| download | rust-9a60a93cacbdf76c45f96ac045c74251c3aa413b.tar.gz rust-9a60a93cacbdf76c45f96ac045c74251c3aa413b.zip | |
Auto merge of #7897 - camsteffen:in-macro, r=flip1995
Replace `in_macro` usage with `from_expansion` changelog: none Generally replace `in_macro(span)` with `span.from_expansion()`. If we're just trying to avoid expanded code, this seems more appropriate because any kind of expanded code is prone to false positives. One place I did not touch is `macro_use.rs`. I think this lint could use a rewrite so I moved `in_macro` there, the only place it is still used.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
