rust/tests
bors bad50269f8 Auto merge of #147602 - JohnTitor:dedup-lifetime-capture-errors, r=estebank
Deduplicate higher-ranked lifetime capture errors in impl Trait

  Previously, when an `impl Trait` captured multiple higher-ranked
  lifetimes from an outer `impl Trait`, the compiler would emit a
  separate error for each captured lifetime. This resulted in verbose
  and confusing diagnostics, especially in edition 2024 where implicit
  captures caused duplicate errors.

  This commit introduces error accumulation that collects all capture
  spans and lifetime declaration spans, then emits a single consolidated
  diagnostic using MultiSpan. The new error shows all captured lifetimes
  with visual indicators and lists all declarations in a single note.

r? `@estebank`
Fixes https://github.com/rust-lang/rust/issues/143022
2025-12-10 06:52:27 +00:00
..
assembly-llvm Rollup merge of #149409 - cezarbbb:stable_ssp, r=SparrowLii 2025-11-29 21:12:26 +11:00
auxiliary Rework c_variadic 2025-12-04 10:51:34 +01:00
codegen-llvm Rollup merge of #149207 - EFanZh:add-ilog10-result-range-hints, r=Mark-Simulacrum 2025-12-08 11:46:23 +11:00
codegen-units Add #[inline] to Layout::is_size_align_valid 2025-12-06 19:47:13 -06:00
coverage Auto merge of #142821 - cjgillot:jump-threading-single, r=saethlin 2025-12-01 23:44:49 +00:00
coverage-run-rustdoc
crashes Auto merge of #148602 - BoxyUwU:coercion_cleanup_uncontroversial, r=lcnr 2025-12-05 11:46:41 +00:00
debuginfo debuginfo/macro-stepping test: extend comments 2025-12-01 22:32:36 +01:00
incremental Add unsafe to no_mangle incremental tests 2025-12-03 17:00:22 +01:00
mir-opt Auto merge of #149426 - antoyo:libgccjit-targets, r=Kobzol 2025-12-09 01:58:46 +00:00
pretty Add inline attribute to generated delegation function if needed 2025-12-08 19:56:47 +03:00
run-make Rollup merge of #149400 - Skgland:tracked_mod, r=Amanieu 2025-12-09 17:36:48 +01:00
run-make-cargo Skip the panic-immediate-abort-works test when cross-compiling 2025-09-22 21:13:38 -04:00
rustdoc add test 2025-11-26 16:33:13 +09:00
rustdoc-gui Fix invalid link generation for type alias methods 2025-11-24 17:01:32 +01:00
rustdoc-js Auto merge of #149370 - Zalathar:rollup-6fkk5x4, r=Zalathar 2025-11-27 07:30:25 +00:00
rustdoc-js-std std: Use more unix.rs code on WASI targets 2025-12-08 06:46:28 -08:00
rustdoc-json Add tests for doc(attribute = "...") attribute 2025-08-28 15:56:30 +02:00
rustdoc-ui Merge E0412 into E0425 2025-12-02 18:25:13 +00:00
ui Auto merge of #147602 - JohnTitor:dedup-lifetime-capture-errors, r=estebank 2025-12-10 06:52:27 +00:00
ui-fulldeps Fix name and pretty print now uses trimmed_name 2025-12-01 01:34:14 +00:00
COMPILER_TESTS.md