about summary refs log tree commit diff
path: root/src/test/ui/const-generics/array-size-in-generic-struct-param.rs
AgeCommit message (Collapse)AuthorLines
2021-08-30`feature(const_generics)` -> `feature(const_param_types)`lcnr-29/+0
2020-12-26update testsBastian Kauschke-1/+0
2020-10-12Bless expected errorsEthan Brierley-2/+2
2020-10-11`min_const_generics` diagnostics improvementsEthan Brierley-2/+2
2 3
2020-10-03Replace "non trivial" with "non-trivial"varkor-2/+2
2020-08-18change const param ty warning messageBastian Kauschke-1/+1
2020-08-12Update stderr fileskadmin-1/+1
And also fix some comments as suggested by lcnr
2020-08-12Add missing tests in root const-gen dirkadmin-4/+12
2020-05-09adjust testsRalf Jung-1/+1
2020-01-21Make `TooGeneric` error in WF checking a proper errorvarkor-4/+3
`TooGeneric` is encountered during WF checking when we cannot determine that a constant involving a generic parameter will always be evaluated successfully (rather than resulting in an error). In these cases, the burden of proof should be with the caller, so that we can avoid post-monomorphisation tim errors (which was the previous previous behaviour). This commit ensures that this situation produces a proper compiler error, rather than silently ignoring it or ICEing.
2020-01-05Silence `TooGeneric` errorvarkor-0/+23
This error may be produced during intermediate failed attempts at evaluation of a generic const, which may nevertheless succeed later.