bors 9a60a93cac 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.
2021-11-05 14:42:32 +00:00
..
2021-11-02 17:04:35 -04:00
2021-10-26 10:52:35 -07:00
2021-11-01 19:33:27 -04:00
2021-11-01 19:33:27 -04:00
2021-11-01 19:33:27 -04:00
2021-11-01 19:33:27 -04:00
2021-10-30 14:50:53 +02:00
2021-10-28 09:38:01 -05:00
2021-10-26 13:55:51 -07:00
2021-10-26 09:05:28 +02:00
2021-10-26 09:05:28 +02:00
2021-10-27 06:32:37 -07:00
2021-10-27 06:32:37 -07:00
2021-10-30 14:50:53 +02:00