about summary refs log tree commit diff
path: root/tests/ui/numeric
AgeCommit message (Collapse)AuthorLines
2025-08-27Add test batch 1Oneirical-0/+11
2025-05-03compiletest: Do not require annotations on empty labels and suggestionsVadim Petrochenkov-404/+134
2025-04-30compiletest: Make diagnostic kind mandatory on line annotationsVadim Petrochenkov-156/+158
2025-02-10Show diff suggestion format on verbose replacementEsteban Küber-252/+378
``` error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields --> $DIR/attempted-access-non-fatal.rs:7:15 | LL | let _ = 2.l; | ^ | help: if intended to be a floating point literal, consider adding a `0` after the period and a `f64` suffix | LL - let _ = 2.l; LL + let _ = 2.0f64; | ```
2024-07-18Tweak "field not found" suggestion when giving struct literal for tuple ↵Esteban Küber-2/+2
struct type ``` error[E0560]: struct `S` has no field named `x` --> $DIR/nested-non-tuple-tuple-struct.rs:8:19 | LL | pub struct S(f32, f32); | - `S` defined here ... LL | let _x = (S { x: 1.0, y: 2.0 }, S { x: 3.0, y: 4.0 }); | ^ field does not exist | help: `S` is a tuple struct, use the appropriate syntax | LL | let _x = (S(/* f32 */, /* f32 */), S { x: 3.0, y: 4.0 }); | ~~~~~~~~~~~~~~~~~~~~~~~ ```
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-20/+20
2023-11-24Show number in error message even for one errorNilstrieb-1/+1
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-01-11Move /src/test to /testsAlbert Larsan-0/+11656