about summary refs log tree commit diff
path: root/src/test/ui/inline-const
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-585/+0
2022-12-13Add tests (currently broken) for unsafe + inline const patGary Guo-0/+39
2022-12-13Add testsGary Guo-0/+80
2022-12-01Make inline const block `ExprWithBlock`Gary Guo-0/+25
2022-10-08Stabilize half_open_range_patternsUrgau-1/+2
2022-07-19feat: omit suffixes in const generics (e.g. `1_i32`)Artur Sinila-2/+2
Closes #99255
2022-05-16use GlobalId in eval_to_valtree query and introduce query for ↵b-naber-6/+12
valtree_to_const_val
2022-05-03Allow inline consts to reference generic paramsGary Guo-5/+83
2021-12-05Evaluate inline const pat early and report error if too genericGary Guo-9/+36
2021-11-22`#![feature(inline_const)]` is no longer incompleteGary Guo-8/+3
2021-11-22Split inline const to two feature gatesGary Guo-5/+6
2021-11-07Add a FIXME note about what's missingGary Guo-0/+34
2021-11-07Ensure closure requirements are proven for inline constGary Guo-0/+48
2021-11-07Add unit test for issue 78174Gary Guo-0/+72
2021-11-07Add unit test for issue 78132Gary Guo-0/+24
2021-08-16Add test for issue 82518Gary Guo-0/+25
2020-12-17Don't allow `const` to begin a nonterminalCamelid-0/+20
Thanks to Vadim Petrochenkov who [told me what the fix was][z]! [z]: https://rust-lang.zulipchat.com/#narrow/stream/182449-t-compiler.2Fhelp/topic/finding.20which.20macro.20rule.20to.20use/near/220240422
2020-10-22Add ..= const { .. } missing tests and sort them properlySantiago Pastorino-3/+8
2020-10-22Make inline const work for half open rangesSantiago Pastorino-1/+11
2020-10-22Make inline const work in range patternsSantiago Pastorino-0/+23
2020-10-19Add inline const macro testSantiago Pastorino-0/+12
2020-10-16Add inline const to INCOMPLETE_FEATURESSantiago Pastorino-0/+4
2020-10-16Add inline const testsSantiago Pastorino-0/+56