-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Regression when compiling with 07-14 nightly #99276
Comments
Hmmm... I can't seem to reproduce this. Windows only, perhaps? Or incremental comp issue? I have the input in a |
edit: my code originally failed in Github Actions using an ubuntu builder so I guess not Windows only. |
Yup, fails in WSL, too:
Backtrace
|
It fails on latest nightly for me. Failing version:
Working version:
|
Ahh! I was testing 2022-07-14, which passes. I got confused by the Yeah, I can reproduce it now :) Running a bisect. |
searched nightlies: from nightly-2022-07-13 to nightly-2022-07-15 bisected with cargo-bisect-rustc v0.6.1Host triple: x86_64-unknown-linux-gnu cargo bisect-rustc --start 2022-07-13 --end 2022-07-15 --regress ice -- build |
#99231 is yet another rollup; we really need a try build for each rolled up PR... Out of:
|
This is a variant of the following bug which already happens on stable: pub struct Record<'a> {
pub args: &'a [(usize, &'a str)],
}
mod a {
extern "Rust" {
fn foo<'a, 'b>(record: &'a super::Record<'b>);
}
}
mod b {
extern "Rust" {
fn foo<'a, 'b>(record: &'a super::Record<'b>);
}
} |
Code
Meta
rustc --version --verbose
:Error output
Backtrace
Playground uses 7-13 nightly still, and the code compiles there: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=acd29a81c627ac9cd863a0a3d843c72e
The text was updated successfully, but these errors were encountered: