-
Notifications
You must be signed in to change notification settings - Fork 13k
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
ICE When Building combine
in DEBUG MODE (WITHOUT --release
)
#107678
Comments
Compilation works fine when building WITH |
searched nightlies: from nightly-2023-02-03 to nightly-2023-02-05 bisected with cargo-bisect-rustc v0.6.5Host triple: x86_64-unknown-linux-gnu cargo bisect-rustc --regress=ice -- build |
#![crate_type = "lib"]
pub trait StreamOnce {
type Error;
}
pub trait ResetStream: StreamOnce {
fn reset(&mut self) -> Result<(), Self::Error>;
}
impl<'a> ResetStream for &'a str
where Self: StreamOnce
{
#[inline]
fn reset(&mut self) -> Result<(), Self::Error> {
Ok(())
}
}
// impl<T> StreamOnce for T {
// type Error = ();
// } Building a library and the inline attribute are required to reproduce. This example will also ICE on stable, but if you uncomment the last three lines it only ICEs on nighly. So #107267 probably only revealed this bug and isn't the root cause of it. @rustbot label S-bug-has-mcve |
…ms introduced by the new nightly compiler. Related issue: rust-lang/rust#107678 The commit that caused the issue: rust-lang/rust@9dee4e4
614: Use Older Nightly For `discord-frontend` Test r=HTG-YT a=HTG-YT In light of rust-lang/rust#107678 which causes nightly to break for the `discord-frontend` test, a nightly rollback will be in place to temporarily fix the CI until the abovementioned issue is fixed. Co-authored-by: HTGAzureX1212 <39023054+HTG-YT@users.noreply.github.com>
@rustbot label regression-from-stable-to-nightly |
I'm also seeing this. in nightly 2/7/23 |
This ICE also happens on target x86_64-unknown-linux-gnu in cargo-bins/cargo-binstall#773 , however on target x86_64-pc-windows-msvc it did not occur. |
ReErased regions are local fix rust-lang/rust#107678 fix rust-lang/rust#107684 fix rust-lang/rust#107686 fix rust-lang/rust#107691 fix rust-lang/rust#107730
622: Revert Nightly Downgrade r=HTG-YT a=HTG-YT Now that the issue in rust-lang/rust#107678 is fixed, the nightly downgrade will hereby be reverted. Co-authored-by: HTGAzureX1212 <39023054+HTG-YT@users.noreply.github.com>
Code
/* this ICE lies in the combine crate */
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: