-
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
range start index 1 out of range for slice of length 0 #98598
Comments
@rustbot label regression-from-stable-to-nightly |
This also ICEs with a slightly different variant of the code. pub trait Foo {
type Output: Foo;
fn baz() -> Self::Output;
}
pub struct Bar;
impl Foo for Bar {
type Output = Bar;
fn baz() -> Self::Output {
Foo::baz();
Self::Output {}
}
} However, it does not ICE using stable 1.61.0 or 1.62.0-beta.7 (2022-06-26 747075d). |
bisection leads to commit e40d5e8, pr #89862 searched nightlies: from nightly-2022-03-21 to nightly-2022-06-28 bisected with cargo-bisect-rustc v0.6.0Host triple: x86_64-unknown-linux-gnu cargo bisect-rustc --start=2022-03-21 --regress ice |
WG-prioritization assigning priority (Zulip discussion). @rustbot label -I-prioritize +P-medium |
cc @lcnr |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
@rustbot claim |
Code
Meta
I reproduced this bug on nightly and master but did not exist on stable or beta.
rustc --version --verbose
:Error output
Backtrace
Let me know if I can further assist.
The text was updated successfully, but these errors were encountered: