rust/tests/ui/higher-ranked
Matthias Krüger dc4d38740e
Rollup merge of #136414 - estebank:expected-return-type, r=oli-obk
Shorten error message for callable with wrong return type

```
error: expected `{closure@...}` to return `Ret`, but it returns `Other`
```
instead of
```
error: expected `{closure@...}` to be a closure that returns `Ret`, but it returns `Other`
```
2025-02-02 23:06:55 +01:00
..
leak-check Make sure to ignore elided lifetimes when pointing at args for fulfillment errors 2024-11-12 02:08:39 +00:00
subtype [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
trait-bounds Rollup merge of #136414 - estebank:expected-return-type, r=oli-obk 2025-02-02 23:06:55 +01:00
anonymous-higher-ranked-lifetime.rs Adjust anonymous-higher-ranked-lifetime.rs 2024-12-10 11:31:13 +08:00
anonymous-higher-ranked-lifetime.stderr Adjust anonymous-higher-ranked-lifetime.rs 2024-12-10 11:31:13 +08:00
builtin-closure-like-bounds.rs Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
closure-bound-codegen-ice.rs Fix obligation param and bless tests 2024-04-01 22:48:23 -04:00
erroneous-lifetime-bound.rs Move binder and polarity parsing into parse_generic_ty_bound 2024-06-28 19:40:31 -04:00
erroneous-lifetime-bound.stderr Move binder and polarity parsing into parse_generic_ty_bound 2024-06-28 19:40:31 -04:00
higher-lifetime-bounds.rs Simple modification of diagnostic information 2023-12-21 10:17:11 +08:00
higher-lifetime-bounds.stderr Simple modification of diagnostic information 2023-12-21 10:17:11 +08:00
higher-ranked-lifetime-equality.rs Make nll higher ranked equate use bidirectional subtyping in invariant context 2024-02-29 15:27:59 -03:00
higher-ranked-lifetime-equality.stderr Make nll higher ranked equate use bidirectional subtyping in invariant context 2024-02-29 15:27:59 -03:00
higher-ranked-lifetime-error.rs eagerly instantiate binders to avoid relying on sub 2024-03-14 17:19:40 +01:00
higher-ranked-lifetime-error.stderr eagerly instantiate binders to avoid relying on sub 2024-03-14 17:19:40 +01:00
structually-relate-aliases.rs Assert that obligations are empty before deeply normalizing 2024-12-02 22:51:18 +00:00
structually-relate-aliases.stderr Use trait name instead of full constraint in suggestion message 2024-12-07 21:29:58 +00:00
subtyping-fn-ptr-coercion.rs Use the right type when coercing fn items to pointers 2024-08-13 16:23:20 -04:00
well-formed-aliases.rs Okay actually check only alias TYPES 2024-05-21 15:56:10 -04:00
well-formed-aliases.stderr Okay actually check only alias TYPES 2024-05-21 15:56:10 -04:00