-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rust update from 1.63 to 1.64 introduce lifetime problem on build #103141
Comments
searched nightlies: from nightly-2022-08-01 to nightly-2022-10-01 bisected with cargo-bisect-rustc v0.6.4Host triple: x86_64-unknown-linux-gnu cargo bisect-rustc --access github --timeout 30 --start 2022-08-01 --end 2022-10-01 --regress error Out of the rollup, this was probably caused by #100340? @spastorino |
WG-prioritization assigning priority (Zulip discussion). @rustbot label -I-prioritize +P-critical |
Reopening to track backports. |
can this be closed? was #103205 backported to stable, right? cc @spastorino @RalfJung (unsure who to ping) |
I have no involvement with this whatsoever.^^ |
#103205 was beta backported to 1.65, which is now released. We won't be having a 1.64.1 release. So this should be considered "fixed", since it is resolved on the current stable release of Rust. |
…ing, r=cjgillot Do anonymous lifetimes remapping correctly for nested rpits Closes rust-lang#103141 r? `@cjgillot` `@nikomatsakis` This fixes a stable to stable regression that in my opinion is `P-critical` so, we probably want to backport it all the way up to stable.
Code
This is an attempt to reproduce a minimal example of a regression problem (backwards compatibility not assured) from a closed-source company codebase.
I tried this code: -> https://github.com/Aboussejra/rust_compiler_1.64_update_problem
I expected to see the code building (This code is old and was building for years on rust 1.54, and builds on rust 1.63. the code works as intended in the proprietary codebase)
Instead, this happened:
Version it worked on
It most recently worked on: 1.63 (from my repo, commit : 4c37cdc458abdecd0baf018500bbc0611bad568f)
Version with regression
It does not work anymore on version 1.64: (from my repo, commit : 2728a5acdb645f93ef223a0bc15dd3545fd82c51)
Backtrace
Including the backtrace by setting
RUST_BACKTRACE=1
does not change anything to the error message.I do not know why this problem occured though.
@rustbot modify labels: +regression-from-stable-to-{channel} -regression-untriaged
-->
The text was updated successfully, but these errors were encountered: