rust/tests
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
..
cargo
ui Auto merge of #7897 - camsteffen:in-macro, r=flip1995 2021-11-05 14:42:32 +00:00
ui_test Merge commit '91496c2ac6abf6454c413bb23e8becf6b6dc20ea' into clippyup 2021-10-21 13:11:36 +02:00
ui-cargo
ui-internal Use Span::from_expansion instead of in_macro 2021-11-05 08:50:17 -05:00
ui-toml update most tests to 2021 edition 2021-10-30 14:50:53 +02:00
clippy.toml
compile-test.rs update most tests to 2021 edition 2021-10-30 14:50:53 +02:00
dogfood.rs
fmt.rs
integration.rs
lint_message_convention.rs
missing-test-files.rs Account for revisions in missing-test-files 2021-11-01 15:47:34 +00:00
versioncheck.rs