-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE: DefId::expect_local DefId isn't local
#133808
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
Comments
Hit this assert while attempting to upgrade to nightly 1.86, without using the transmutability feature. It was triggered by a const-generics type: I haven't been able to create a (small) reproducer yet. |
Any updates on this? |
since #135186 , this seems to be easier to reach now: auto-reduced (treereduce-rust): #![feature(generic_const_exprs)]
#![feature(min_generic_const_args)]
pub trait Foo {}
impl Foo for [u8; std::path::MAIN_SEPARATOR] {} original: pub trait Foo {}
impl Foo for [u8; std::path::MAIN_SEPARATOR] {}
//~^ ERROR no associated item named `BYTES` found
fn main() { } Version information
Possibly related line of code: rust/compiler/rustc_hir_analysis/src/collect/predicates_of.rs Lines 390 to 402 in 4f0de4c
Command: Program output
@rustbot label +F-generic_const_exprs +F-min_generic_const_args |
code:
Version information
Possibly related line of code:
rust/compiler/rustc_hir_analysis/src/collect/predicates_of.rs
Lines 395 to 407 in 8575f8f
Command:
/home/matthias/.rustup/toolchains/master/bin/rustc
Program output
@rustbot label +F-generic_const_exprs +F-transmutability
The text was updated successfully, but these errors were encountered: