-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
error: internal compiler error: compiler/rustc_infer/src/infer/lexical_region_resolve/mod.rs:486:17: cannot relate region: LUB('{erased}, '{erased}) #127033
Comments
Looks like an RPITIT/ async fn ICE from |
A smaller example pub struct Vote;
pub trait RaftLogStorage {
fn save_vote(&mut self, vote: &Vote) -> impl std::future::Future + Send;
}
struct X;
impl RaftLogStorage for X {
fn save_vote(&mut self, vote: &Vote) -> impl std::future::Future<Output = Result<(), String>> {
loop {}
async {
vote;
Ok(())
}
}
} |
|
Regression in nightly-2022-09-10 fetching (via remote github) commits from max(1120c5e, 2022-09-07) to 1d37ed6 probably #101224 ? 🤔 |
Bisecting with git now. We'll see. |
But yeah, #101224 looks sus. |
@pacak your bisection just points to the stabilization of the feature gate. add something like this:
|
and if you do that you'll hit |
I added missing feature flags and got a new bisect
commit[0] 2022-09-08: Auto merge of #101437 - compiler-errors:erase-normalize-ordering, r=tmandry |
Hmm... my example starts failing at #101224, did it ever worked? |
No, it's not a regression per se 😆 |
This issue is duplicate of #112417, this PR #125285 prevents this from happening but as stated in the PR it regresses I'd need to investigate a little bit as I've seen in some tests indicators of some work being done and @lcnr is well aware of this and know better than I for sure. |
add a few more crashtests Added them for rust-lang#123629, rust-lang#127033 and rust-lang#129372.
Rollup merge of rust-lang#129869 - cyrgani:master, r=Mark-Simulacrum add a few more crashtests Added them for rust-lang#123629, rust-lang#127033 and rust-lang#129372.
@rustbot label +S-bug-has-test |
I wasn't able to reduce this more
Code
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: