mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 20:20:59 +03:00
c31cccb7b5
const-eval error: always say in which item the error occurred I don't see why "is this generic" should make a difference. It may be reasonable to key this on whether the error occurs in a `const fn` that was invoked by a const (making it non-obvious which constant it is) vs inside the body of the const. r? `@oli-obk`