about summary refs log tree commit diff
path: root/tests/ui/const-generics/std
AgeCommit message (Collapse)AuthorLines
2025-09-08change end to lastJeremy Smart-9/+9
2025-01-30std::rangePeter Jaszkowiak-6/+6
2024-09-29fix(hir_analysis/wfcheck): don't leak {type error}Barrett Ray-6/+6
avoid `{type error}` being leaked in user-facing messages, particularly when using the `adt_const_params` feature
2024-03-18Provide structured suggestion for `#![feature(foo)]`Esteban Küber-6/+24
``` error: `S2<'_>` is forbidden as the type of a const generic parameter --> $DIR/lifetime-in-const-param.rs:5:23 | LL | struct S<'a, const N: S2>(&'a ()); | ^^ | = note: the only supported types are integers, `bool` and `char` help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types | LL + #![feature(adt_const_params)] | ``` Fix #55941.
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-2/+2
2023-09-28make adt_const_params feature suggestion more consistent with others and ↵asquared31415-6/+6
only suggest it when the type can probably work
2023-06-01Implement custom diagnostic for ConstParamTyMichael Goulet-7/+47
2023-01-11Move /src/test to /testsAlbert Larsan-0/+93