-
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
thread 'rustc' panicked at 'index out of bounds: the len is 0 but the index is 0' #89868
Comments
cargo-bisect-rustc says:
|
another one struct S0<T>(T);
impl<T> S0<T> {
fn foo() {
Self(0);
const C: S0<u8> = Self(0);
}
} |
…nkov Revert "Validate resolution for SelfCtor too." This reverts commit 8345340. That PR introduced a breaking change. Fixes rust-lang#111541 Reopens rust-lang#89868 r? `@petrochenkov`
Fix ICE: Restrict param constraint suggestion When encountering an associated item with a type param that could be constrained, do not look at the parent item if the type param comes from the associated item. Fix rust-lang#117209, fix rust-lang#89868.
Rollup merge of rust-lang#117246 - estebank:issue-117209, r=petrochenkov Fix ICE: Restrict param constraint suggestion When encountering an associated item with a type param that could be constrained, do not look at the parent item if the type param comes from the associated item. Fix rust-lang#117209, fix rust-lang#89868.
rustc crashes on the following input, found by fuzz_rustc:
The text was updated successfully, but these errors were encountered: