Closed
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