mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 00:56:14 +00:00
9a60a93cac
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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |