-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ignored regions constraints when normalizing user-provided types #101350
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
bisection results seems to point to #95565 (quite big pack of changes) cc @jackh726 searched nightlies: from nightly-2022-05-01 to nightly-2022-09-05 bisected with cargo-bisect-rustc v0.6.0Host triple: x86_64-unknown-linux-gnu cargo bisect-rustc ./script.sh --start 2022-05-01 --preserve |
Going to nominate this for types team. This seems pretty rough, as it's a pretty simple repro. It would be nice to have someone look at this. Not sure if its implied bounds related or something else. |
@rustbot claim issue with user type annotations, going to take a look and try to fix this |
WG-prioritization assigning priority (Zulip discussion). @rustbot label -I-prioritize +P-high |
This is moving, unnominating. |
I'll have time after 2 days to finish the fix. @rustbot claim |
fixing this should also close #54940. |
…imulacrum Add a few known-bug tests The labels of these tests should be changed from `S-bug-has-mcve` to `S-bug-has-test` once this is merged. cc: rust-lang#101518 rust-lang#99492 rust-lang#90950 rust-lang#89196 rust-lang#104034 rust-lang#101350 rust-lang#103705 rust-lang#103899 I couldn't reproduce the failures in rust-lang#101962 and rust-lang#100772 (so either these have started passing, or I didn't repro properly), so leaving those out for now. rust-lang#102065 was a bit more complicated, since it uses `rustc_private` and I didn't want to mess with that.
This compiles after full NLL (>= 1.63) but it shouldn't:
HIR typeck unconditionally normalizes user-provided types modulo regions, so it's not NLL's fault this time :)
@rustbot label regression-from-stable-to-stable T-compiler T-types C-bug
The text was updated successfully, but these errors were encountered: