-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE: assertion failure: eps.array_windows() ... rustc_middle/src/ty/context.rs:2684:9 #102933
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
@matthiaskrgr what's your system? do you have debug builds on? I can't seem to repro this on master. edit: oops, first question i guess is |
no this is not with debug build on, its just the normal master toolchain installed via |
Literally can't repro this locally. I'm pretty sure that I know the reason why (the |
so you can't even repro with the official master artifacts? :| or just not with a local build? |
Sorry, I can repro with the master artifacts. But not with a local build of master, which makes testing the change that I want to make to fix this issue difficult. |
Actually, repro on use std::future::Future;
pub trait Service {
type Response;
type Future: Future<Output = Self::Response>;
}
pub trait ThriftService: Service<Future = Box<dyn Future<Output = i32>>, Response = i32> {
fn foo(&self) {}
}
pub trait ThriftService2: Service<Response = i32, Future = Box<dyn Future<Output = i32>>> {
fn foo(&self) {}
}
fn main() {
let x: &dyn ThriftService = todo!();
let y: &dyn ThriftService2 = todo!();
} This should be a UI test that is resilient to def path hashing changes. |
59324.rs
Code
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: