rust/tests
Esteban Küber 03e9a38390 On E0271 for a closure behind a binding, point at binding in call too
```
error[E0271]: expected `{closure@return-type-doesnt-match-bound.rs:18:13}` to be a closure that returns `Result<(), _>`, but it returns `!`
    --> tests/ui/closures/return-type-doesnt-match-bound.rs:18:20
     |
18   |     let c = |e| -> ! { //~ ERROR to be a closure that returns
     |             -------^
     |                    |
     |                    expected `Result<(), _>`, found `!`
...
22   |     f().or_else(c);
     |         ------- -
     |         |
     |         required by a bound introduced by this call
     |
     = note: expected enum `Result<(), _>`
                found type `!`
note: required by a bound in `Result::<T, E>::or_else`
    --> /home/gh-estebank/rust/library/core/src/result.rs:1406:39
     |
1406 |     pub fn or_else<F, O: FnOnce(E) -> Result<T, F>>(self, op: O) -> Result<T, F> {
     |                                       ^^^^^^^^^^^^ required by this bound in `Result::<T, E>::or_else`
```
2025-01-30 18:38:41 +00:00
..
assembly Auto merge of #104693 - jhorstmann:use-high-bit-of-mask-for-select, r=workingjubilee 2025-01-26 22:45:21 +00:00
auxiliary tests/assembly/asm: Remove uses of rustc_attrs and lang_items features by using minicore 2024-12-18 02:59:07 +09:00
codegen Rollup merge of #135847 - edwloef:slice_ptr_rotate_opt, r=scottmcm 2025-01-30 14:25:04 +11:00
codegen-units Remove -Zinline-in-all-cgus and clean up CGU partitioning tests 2025-01-27 23:48:47 -05:00
coverage coverage: Completely overhaul counter assignment, using node-flow graphs 2025-01-16 22:07:18 +11:00
coverage-run-rustdoc
crashes Properly check that array length is valid type during built-in unsizing in index 2025-01-28 17:52:28 +00:00
debuginfo Revert "Remove the Arc rt::init allocation for thread info" 2025-01-14 13:37:25 +01:00
incremental add test for issue 135514 2025-01-15 08:26:23 +00:00
mir-opt Rollup merge of #136176 - oli-obk:pattern-type-mir-opts, r=compiler-errors 2025-01-29 06:03:24 +01:00
pretty
run-make tests: port translation to rmake.rs 2025-01-29 08:11:01 +00:00
rustdoc Add TooGeneric variant to LayoutError and emit Unknown one 2025-01-27 00:37:34 +01:00
rustdoc-gui Add GUI regression test for indent of trait items on mobile 2025-01-24 15:36:52 +01:00
rustdoc-js Rollup merge of #134277 - notriddle:notriddle/inline-into, r=GuillaumeGomez 2024-12-16 20:00:20 +01:00
rustdoc-js-std Treat other items as functions for the purpose of type-based search 2025-01-16 11:52:00 -06:00
rustdoc-json rustdoc-json: Rename Path::name to path, and give it path (again). 2025-01-22 19:29:48 +00:00
rustdoc-ui Auto merge of #133154 - estebank:issue-133137, r=wesleywiser 2025-01-25 11:41:21 +00:00
ui On E0271 for a closure behind a binding, point at binding in call too 2025-01-30 18:38:41 +00:00
ui-fulldeps ABI-required target features: warn when they are missing in base CPU (rather than silently enabling them) 2025-01-28 04:40:42 +01:00
COMPILER_TESTS.md