about summary refs log tree commit diff
path: root/tests/ui/consts/const-eval/const-eval-overflow-2.stderr
AgeCommit message (Collapse)AuthorLines
2025-06-07const-eval error: always say in which item the error occurredRalf Jung-1/+1
also adjust the wording a little so that we don't say "the error occurred here" for two different spans
2025-06-02Clarify why we are talking about a failed const eval at a random placeOli Scherer-1/+1
2025-06-02Use the informative error as the main const eval error messageOli Scherer-2/+2
2024-12-04Tweak unevaluated constant in pattern errorEsteban Küber-10/+1
Silence errors that are implied by the errors in the `const` item definition. Add a primary span label.
2024-12-04On `const` pattern errors, point at the `const` item definitionEsteban Küber-0/+3
Centralize emitting an error in `const_to_pat` so that all errors from that evaluating a `const` in a pattern can add addditional information. With this, now point at the `const` item's definition: ``` error[E0158]: constant pattern depends on a generic parameter --> $DIR/associated-const-type-parameter-pattern.rs:20:9 | LL | pub trait Foo { | ------------- LL | const X: EFoo; | ------------- constant defined here ... LL | A::X => println!("A::X"), | ^^^^ ```
2023-04-03Perform match checking on THIR.Camille GILLOT-7/+1
2023-01-11Move /src/test to /testsAlbert Larsan-0/+21