rust/compiler/rustc_borrowck
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
..
src Rollup merge of #121386 - oli-obk:no_higher_ranked_opaques, r=lcnr 2024-02-22 18:09:52 +01:00
Cargo.toml Replace custom_encodable with encodable. 2023-11-22 18:37:14 +11:00
messages.ftl require simd_insert, simd_extract indices to be constants 2024-02-20 07:50:46 +01:00