diff options
| author | bors <bors@rust-lang.org> | 2022-04-14 14:37:34 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-04-14 14:37:34 +0000 |
| commit | e7575f9670f3c837def3d186ae09366c75c7632e (patch) | |
| tree | 088b32e82cc36e2f3a55abf6b05554335d8075a4 /library/std/src/error.rs | |
| parent | e371eeb778c293cc85ce396cec5d6372fe1ef8b7 (diff) | |
| parent | 3624f1ceaf66af9a1f325eaaeac6866a47302efd (diff) | |
| download | rust-e7575f9670f3c837def3d186ae09366c75c7632e.tar.gz rust-e7575f9670f3c837def3d186ae09366c75c7632e.zip | |
Auto merge of #95315 - compiler-errors:pointee-fix, r=pnkfelix
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
Diffstat (limited to 'library/std/src/error.rs')
0 files changed, 0 insertions, 0 deletions
