rust/src/test
Dylan DPC 75571a5ac0
Rollup merge of #83179 - Aaron1011:actix-web-lint, r=petrochenkov
Extend `proc_macro_back_compat` lint to `actix-web`

Unlike the other cases of this lint, there's no simple way to detect if
an old version of the relevant crate (`syn`) is in use. The `actix-web`
crate only depends on `pin-project` v1.0.0, so checking the version of
`actix-web` does not guarantee that a new enough version of
`pin-project` (and therefore `syn`) is in use.

Instead, we rely on the fact that virtually all of the regressed crates
are pinned to a pre-1.0 version of `pin-project`. When this is the case,
bumping the `actix-web` dependency will pull in the *latest* version of
`pin-project`, which has an explicit dependency on a newer v dependency
on a newer version of `syn`.

The lint message tells users to update `actix-web`, since that's what
they're most likely to have control over. We could potentially tell them
to run `cargo update -p syn`, but I think it's more straightforward to
suggest an explicit change to the `Cargo.toml`

The `actori-web` fork had its last commit over a year ago, and appears
to just be a renamed fork of `actix-web`. Therefore, I've removed the
`actori-web` check entirely - any crates that actually get broken can
simply update `syn` themselves.
2021-03-19 15:03:23 +01:00
..
assembly Adjust -Ctarget-cpu=native handling in cg_llvm 2021-03-16 21:32:55 +02:00
auxiliary
codegen Auto merge of #82122 - bstrie:dep4real, r=dtolnay 2021-03-17 19:39:03 +00:00
codegen-units Deprecate items that accidentally weren't deprecated 2021-03-09 19:09:20 -05:00
debuginfo Update tests for extern block linting 2021-01-13 07:49:16 -05:00
incremental Avoid sorting predicates by DefId 2021-03-13 13:45:12 -05:00
mir-opt Auto merge of #82122 - bstrie:dep4real, r=dtolnay 2021-03-17 19:39:03 +00:00
pretty Update test/pretty output for edition preludes. 2021-02-25 13:43:11 +01:00
run-make Rollup merge of #83132 - Aaron1011:fix/incr-cache-dummy, r=estebank 2021-03-15 16:22:58 +01:00
run-make-fulldeps Add test case for -Zinline-mir & -Zinstrument-coverage 2021-03-16 00:00:00 +00:00
run-pass-valgrind Update tests for extern block linting 2021-01-13 07:49:16 -05:00
rustdoc Auto merge of #82838 - Amanieu:rustdoc_asm, r=nagisa 2021-03-16 10:05:46 +00:00
rustdoc-gui Add test to ensure the attributes position when js is disabled 2021-03-09 21:40:04 +01:00
rustdoc-js Add test for primitive search 2021-02-01 15:56:51 +01:00
rustdoc-js-std Add search index test for primitive types 2021-01-27 10:05:06 +01:00
rustdoc-json Rollup merge of #82571 - aDotInTheVoid:reexport-tests, r=CraftSpider 2021-03-12 08:55:13 +09:00
rustdoc-ui Rollup merge of #82846 - GuillaumeGomez:doc-alias-list, r=jyn514 2021-03-19 15:03:21 +01:00
rustfix
ui Rollup merge of #83179 - Aaron1011:actix-web-lint, r=petrochenkov 2021-03-19 15:03:23 +01:00
ui-fulldeps ast: Reduce size of ExprKind by boxing fields of ExprKind::Struct 2021-03-16 11:41:24 +03:00
COMPILER_TESTS.md