rust/tests
Adrian Taylor fae72074c6 Arbitrary self types v2: no deshadow pre feature.
The arbitrary self types v2 work introduces a check for shadowed
methods, whereby a method in some "outer" smart pointer type may called
in preference to a method in the inner referent. This is bad if the
outer pointer adds a method later, as it may change behavior, so we
ensure we error in this circumstance.

It was intended that this new shadowing detection system only comes into
play for users who enable the `arbitrary_self_types` feature (or of
course everyone later if it's stabilized). It was believed that the
new deshadowing code couldn't be reached without building the custom
smart pointers that `arbitrary_self_types` enables, and therefore there
was no risk of this code impacting existing users.

However, it turns out that cunning use of `Pin::get_ref` can cause
this type of shadowing error to be emitted now. This commit adds a test
for this case.
2024-12-20 12:29:00 +00:00
..
assembly Auto merge of #133818 - matthiaskrgr:rollup-iav1wq7, r=matthiaskrgr 2024-12-04 00:47:09 +00:00
auxiliary Support input/output in vector registers of s390x inline assembly 2024-11-22 04:18:14 +09:00
codegen Simplify the GEP instruction for index 2024-12-15 19:01:45 +08:00
codegen-units Remove polymorphization 2024-12-06 16:42:09 -05:00
coverage Stabilize async closures 2024-12-13 00:04:56 +00:00
coverage-run-rustdoc coverage: Restrict empty-span expansion to only cover { and } 2024-11-08 20:43:08 +11:00
crashes crashes: more tests 2024-12-15 17:27:52 +01:00
debuginfo Reformat Python code with ruff 2024-12-04 23:03:44 +01:00
incremental Add more info on type/trait mismatches for different crate versions 2024-12-07 18:18:08 +00:00
mir-opt Auto merge of #133734 - scottmcm:lower-indexing-to-ptrmetadata, r=davidtwco,RalfJung 2024-12-14 22:43:39 +00:00
pretty Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
run-make Rollup merge of #133633 - jyn514:hide-linker-args, r=bjorn3,jyn514 2024-12-15 20:01:37 +11:00
rustdoc Stabilize async closures 2024-12-13 00:04:56 +00:00
rustdoc-gui Update GUI test after rebase 2024-12-05 22:50:21 +01:00
rustdoc-js rustdoc-search: fix mismatched path when parent re-exported twice 2024-12-12 13:29:18 -07:00
rustdoc-js-std rustdoc-search: update test with now-shorter function path 2024-12-13 09:08:44 -07:00
rustdoc-json Rollup merge of #133721 - aDotInTheVoid:rdj-dyn-link, r=GuillaumeGomez 2024-12-02 17:36:05 +01:00
rustdoc-ui Account for /// when rendering multiline spans 2024-12-13 18:48:33 +00:00
ui Arbitrary self types v2: no deshadow pre feature. 2024-12-20 12:29:00 +00:00
ui-fulldeps Rollup merge of #134043 - ehuss:unicode-version, r=jieyouxu 2024-12-09 23:39:05 +01:00
COMPILER_TESTS.md