-
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
ICE when using Instant
type with the time
crate.
#125484
Comments
hmm, probable duplicate of #125474 |
it might be, but also this one is tied to a |
Yes, this is a duplicate of #125474. That issue contains an MCVE, so I'll close this one as a duplicate to focus discussion in a single place. Thanks for opening an issue! I'll prepare a draft revert of #124976 in case @petrochenkov doesn't have time to investigate/fix before the next nightly. |
@lqd I believe this is a different ICE. The repro in #125474 seems to be with Cargo.toml [package]
name = "foo"
version = "0.1.0"
edition = "2021"
[dependencies]
same = { path = "same" } src/main.rs #![allow(dead_code)]
type Foo = something::same::Thing;
mod something {
pub mod same {
pub struct Thing;
}
}
fn main() {} same/src/Cargo.toml [package]
edition = "2021"
name = "same"
version = "0.1.0" same/src/lib.rs // empty |
AFAICT there is no circular dependency in that other repro, but ok. |
@theemathas fwiw |
Revert "use `tcx.used_crates(())` more" before it reaches beta There are more open issues caused by rust-lang#124976 than will be fixed by rust-lang#125493 alone. The beta cut is soon, so let's revert it and buy some time to analyze and fix these issues in our own time. fixes rust-lang#125474 fixes rust-lang#125484 fixes rust-lang#125646 fixes rust-lang#125707 fixes rust-lang#126066 fixes rust-lang#125934 fixes rust-lang#126021 r? `@petrochenkov` `@bors` p=1
Revert "use `tcx.used_crates(())` more" before it reaches beta There are more open issues caused by rust-lang#124976 than will be fixed by rust-lang#125493 alone. The beta cut is soon, so let's revert it and buy some time to analyze and fix these issues in our own time. fixes rust-lang#125474 fixes rust-lang#125484 fixes rust-lang#125646 fixes rust-lang#125707 fixes rust-lang#126066 fixes rust-lang#125934 fixes rust-lang#126021 r? ``@petrochenkov`` ``@bors`` p=1
Revert "use `tcx.used_crates(())` more" before it reaches beta There are more open issues caused by #124976 than will be fixed by #125493 alone. The beta cut is soon, so let's revert it and buy some time to analyze and fix these issues in our own time. fixes rust-lang/rust#125474 fixes rust-lang/rust#125484 fixes rust-lang/rust#125646 fixes rust-lang/rust#125707 fixes #126066 fixes #125934 fixes rust-lang/rust#126021 r? `@petrochenkov` `@bors` p=1
Revert "use `tcx.used_crates(())` more" before it reaches beta There are more open issues caused by #124976 than will be fixed by #125493 alone. The beta cut is soon, so let's revert it and buy some time to analyze and fix these issues in our own time. fixes rust-lang/rust#125474 fixes rust-lang/rust#125484 fixes rust-lang/rust#125646 fixes rust-lang/rust#125707 fixes #126066 fixes #125934 fixes rust-lang/rust#126021 r? `@petrochenkov` `@bors` p=1
Revert "use `tcx.used_crates(())` more" before it reaches beta There are more open issues caused by #124976 than will be fixed by #125493 alone. The beta cut is soon, so let's revert it and buy some time to analyze and fix these issues in our own time. fixes rust-lang/rust#125474 fixes rust-lang/rust#125484 fixes rust-lang/rust#125646 fixes rust-lang/rust#125707 fixes #126066 fixes #125934 fixes rust-lang/rust#126021 r? `@petrochenkov` `@bors` p=1
Code
make sure to use cargo {build, run, test}.
Error output
Backtrace
The text was updated successfully, but these errors were encountered: