rust/tests
Matthias Krüger 3b0221bf63
Rollup merge of #130137 - gurry:master, r=cjgillot
Fix ICE caused by missing span in a region error

Fixes #130012

The ICE occurs on line 634 in this error handling code: 085744b7ad/compiler/rustc_trait_selection/src/error_reporting/infer/region.rs (L617-L637) It is caused by the span being a dummy span and `!span.is_dummy()` on line 628 evaluating to `false`.

A dummy span, however, is expected here thanks to the `Self: Trait` predicate from `predicates_of` (see line 61): 085744b7ad/compiler/rustc_hir_analysis/src/collect/predicates_of.rs (L61-L69)

This PR changes the error handling code to omit the note which needed the span instead of ICE'ing in the presence of a dummy span.
2024-09-09 20:20:20 +02:00
..
assembly added support for GNU/Hurd on x86_64 2024-09-08 23:37:07 +02: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
crashes Auto merge of #129346 - nnethercote:fix-double-handling-in-collect_tokens, r=petrochenkov 2024-09-08 05:35:23 +00:00
debuginfo Upgrade CI's mingw-w64 toolchain 2024-09-01 12:37:26 +02: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 Test codegen when setting deployment target 2024-09-07 14:06:55 +02: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 rustdoc: normalise type/field names in rustdoc-json-types/jsondoclint 2024-09-01 23:58:08 +03:00
rustdoc-ui Adjust expected errors for a `rustdoc` test 2024-08-18 22:52:54 -05:00
ui Rollup merge of #130137 - gurry:master, r=cjgillot 2024-09-09 20:20:20 +02:00
ui-fulldeps Add an internal lint that warns when accessing untracked data 2024-09-03 19:14:19 +02:00
COMPILER_TESTS.md