-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-translationArea: Translation infrastructure, and migrating existing diagnostics to SessionDiagnosticArea: Translation infrastructure, and migrating existing diagnostics to SessionDiagnosticC-bugCategory: This is a bug.Category: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Description
I tried this code:
the_slug =
foo bar {boo} beep bop
I expected to see this happen: an error telling me {boo}
needs to be {$boo}
Instead, this happened:
thread 'rustc' panicked at 'identifier: "hir_analysis_const_impl_for_non_const_trait", attr: Some("suggestion"), args: FluentArgs([("trait_name", String("A"))]), errors: [ResolverError(Reference(Message { id: "trait_name", attribute: None }))]', compiler/rustc_errors/src/translation.rs:105:17
Metadata
Metadata
Assignees
Labels
A-translationArea: Translation infrastructure, and migrating existing diagnostics to SessionDiagnosticArea: Translation infrastructure, and migrating existing diagnostics to SessionDiagnosticC-bugCategory: This is a bug.Category: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️