rust/tests
bors 6d05f12170 Auto merge of #129346 - nnethercote:fix-double-handling-in-collect_tokens, r=petrochenkov
Fix double handling in `collect_tokens`

Double handling of AST nodes can occur in `collect_tokens`. This is when an inner call to `collect_tokens` produces an AST node, and then an outer call to `collect_tokens` produces the same AST node. This can happen in a few places, e.g. expression statements where the statement delegates `HasTokens` and `HasAttrs` to the expression. It will also happen more after #124141.

This PR fixes some double handling cases that cause problems, including #129166.

r? `@petrochenkov`
2024-09-08 05:35:23 +00:00
..
assembly Rollup merge of #129940 - liushuyu:s390x-target-features, r=RalfJung 2024-09-07 14:21:22 +03:00
auxiliary
codegen Rollup merge of #129891 - nikic:naked-no-san, r=jackh726 2024-09-07 14:21:21 +03:00
codegen-units Fix and enable disabled codegen-units tests 2024-08-10 14:03:27 -04:00
coverage coverage: Treat await similar to a macro 2024-09-06 17:01:59 +12:00
coverage-run-rustdoc coverage: Extract hole spans from HIR instead of MIR 2024-07-08 21:22:56 +10:00
crashes Auto merge of #129346 - nnethercote:fix-double-handling-in-collect_tokens, r=petrochenkov 2024-09-08 05:35:23 +00:00
debuginfo Make option-like-enum.rs UB-free and portable 2024-08-27 19:12:14 -04:00
incremental Rollup merge of #127279 - bvanjoi:fix-112680, r=petrochenkov 2024-08-21 19:35:10 +02:00
mir-opt Rollup merge of #129706 - compiler-errors:scratch, r=estebank 2024-09-05 18:58:55 +02:00
pretty stabilize raw_ref_op 2024-08-18 19:46:53 +02:00
run-make tests: use renamed `stdin_buf` 2024-09-05 08:43:38 +00:00
run-pass-valgrind
rustdoc Add regression test for sidebar associated items 2024-09-05 12:16:59 +02:00
rustdoc-gui Rollup merge of #129796 - GuillaumeGomez:unify-code-examples, r=notriddle 2024-09-05 18:58:56 +02:00
rustdoc-js rustdoc-search: allow trailing `Foo ->` arg search 2024-09-05 17:58:05 -07:00
rustdoc-js-std rustdoc-search: allow trailing `Foo ->` arg search 2024-09-05 17:58:05 -07:00
rustdoc-json Rollup merge of #129123 - aDotInTheVoid:rustdoc-json-self, r=fmease 2024-08-31 10:08:52 +02:00
rustdoc-ui Adjust expected errors for a `rustdoc` test 2024-08-18 22:52:54 -05:00
ui Auto merge of #129346 - nnethercote:fix-double-handling-in-collect_tokens, r=petrochenkov 2024-09-08 05:35:23 +00:00
ui-fulldeps Add an internal lint that warns when accessing untracked data 2024-09-03 19:14:19 +02:00
COMPILER_TESTS.md