-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Nightly ICE: 'no errors encountered even though delay_span_bug
issued' and 'unresolved inference variable in outlives: ?8t'
#114783
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
burtonageo
added
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
labels
Aug 13, 2023
rustbot
added
the
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
label
Aug 13, 2023
burtonageo
changed the title
Nightly ICE:
Nightly ICE: Aug 13, 2023
no errors encountered even though
delay_span_bug issued
and unresolved inference variable in outlives: ?8t
no errors encountered even though \
delay_span_bug\ issued
and unresolved inference variable in outlives: ?8t
burtonageo
changed the title
Nightly ICE:
Nightly ICE: 'no errors encountered even though Aug 13, 2023
no errors encountered even though \
delay_span_bug\ issued
and unresolved inference variable in outlives: ?8t
delay_span_bug
issued' and 'unresolved inference variable in outlives: ?8t'
compiler-errors
added
the
E-needs-bisection
Call for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustc
label
Aug 13, 2023
Minimized (from the chumsky crate) to: pub trait Foo {
type Error: Error;
fn foo(&self, stream: &<Self::Error as Error>::Span);
}
pub struct Wrapper<Inner>(Inner);
impl<E: Error, Inner> Foo for Wrapper<Inner>
where
Inner: Foo<Error = E>,
{
type Error = E;
fn foo(&self, stream: &<Self::Error as Error>::Span) {
todo!()
}
}
pub trait Error {
type Span;
} or (from the above) to: trait AsBufferView {
type Device;
}
trait Error {
type Span;
}
trait Foo {
type Error: Error;
fn foo(&self) -> &<Self::Error as Error>::Span;
}
impl<D: Error, VBuf0> Foo for VBuf0
where
VBuf0: AsBufferView<Device = D>,
{
type Error = D;
fn foo(&self) -> &<Self::Error as Error>::Span {
todo!()
}
} Bisected with cargo-bisect-rustc v0.6.6 to f1b8548, which is #109356 and that PR does look like it's in the right area to have caused this. |
compiler-errors
removed
the
E-needs-bisection
Call for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustc
label
Aug 13, 2023
compiler-errors
added
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
and removed
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
labels
Aug 13, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=45cbad8e49524de87a2501a6c9704eee
Meta
This code compiles on the
stable
andbeta
channels, but crashes with an ICE on thenightly
channel.rustc --version --verbose
:Error output
(Backtrace omitted)
.. And so on for
?10t
,?11t
, etc.Backtrace
The text was updated successfully, but these errors were encountered: