bors
|
db6a85d358
|
Auto merge of #12778 - Logarithmus:feature/fix-negative-const-generics, r=flodiebold
Support negative, `char` & `bool` const generics
Before:

After:

I tried to implement stuff like `Const<{NUM1 + 3 + NUM2}>` by using already existing constant evaluation mechanism for ordinary constants, but turned out to be harder than I thought, maybe because I've never ever tinkered with compilers before
|
2022-07-17 17:17:39 +00:00 |
|
Artur Sinila
|
83177a7cfe
|
fix: address suggestions
|
2022-07-17 18:22:11 +03:00 |
|
iDawer
|
a0fd58bbbe
|
Check for local IDs belong to same definition
|
2022-07-17 11:43:08 +05:00 |
|
Artur Sinila
|
a96f0aa7cd
|
feat: support negative const generic parameters
* feat: support `bool` & `char` const generics
|
2022-07-17 04:18:53 +03:00 |
|
Laurențiu Nicola
|
78beb4c444
|
Bump chalk
|
2022-07-03 10:22:10 +03:00 |
|
Lukas Wirth
|
2642f64570
|
internal: Simplify
|
2022-06-23 20:08:29 +02:00 |
|
Lukas Wirth
|
7a0ab1358c
|
internal: Remove Generics::type_iter in favor of Generics::iter
|
2022-06-12 14:40:37 +02:00 |
|
Peh
|
1f011fa4a3
|
style: rename crates to kebab case
|
2022-05-01 10:48:58 +00:00 |
|