about summary refs log tree commit diff
path: root/src/test/ui/const-generics/defaults/const-default.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-24/+0
2021-12-10update testsEllen-2/+0
2021-08-30`feature(const_generics)` -> `feature(const_param_types)`lcnr-4/+0
2021-04-21loosen ordering restricts for `const_generics_defaults`lcnr-2/+2
2021-03-23progress, stuff compiles nowlcnr-4/+22
2021-03-23Some refactoringvarkor-4/+1
2021-03-23Add has_default to GenericParamDefKind::Constkadmin-0/+15
This currently creates a field which is always false on GenericParamDefKind for future use when consts are permitted to have defaults Update const_generics:default locations Previously just ignored them, now actually do something about them. Fix using type check instead of value Add parsing This adds all the necessary changes to lower const-generics defaults from parsing. Change P<Expr> to AnonConst This matches the arguments passed to instantiations of const generics, and makes it specific to just anonymous constants. Attempt to fix lowering bugs