mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-05 14:37:37 +00:00
![]() when checking pointee metadata, canonicalize the `Sized` check Use `infcx.predicate_must_hold_modulo_regions` with a `Sized` obligation instead of just calling `ty.is_sized`, because the latter does not canonicalize region and type vars (and in the test case I added in this PR, there's a region var in the `ParamEnv`). Fixes #95311 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |