rust/tests/ui/type-alias-impl-trait
Matthias Krüger 379ef9bd36
Rollup merge of #121386 - oli-obk:no_higher_ranked_opaques, r=lcnr
test that we do not support higher-ranked regions in opaque type inference

We already do all the right checks in `check_opaque_type_parameter_valid`, and we have done so since at least 2 years.

I collected the tests from https://github.com/rust-lang/rust/pull/116935 and https://github.com/rust-lang/rust/pull/100503 and added some more

cc https://github.com/rust-lang/rust/issues/96146

r? `@lcnr`
2024-02-22 18:09:52 +01:00
..
2024-02-21 09:08:45 +00:00
2024-02-21 09:08:45 +00:00
2024-02-21 09:08:45 +00:00
2024-02-21 09:08:45 +00:00
2024-02-13 05:08:53 +01:00