-
if we care about performance, we should stop using dynamic dispatch and make the parser generic around the dialect, with that we could make lots of these methods `const` (or drop the `Precedence` enum…
-
### Aim
```rs
use dep::std::collections::map::{ HashMap };
use dep::std::hash::BuildHasherDefault;
use dep::std::hash::pedersen::PedersenHasher;
fn main() {
let map: HashMap = HashMap::def…
-
Discussed in slack; astconv currently generates assumptions and asserts for things like let parameters, but we might want to generate assumptions and asserts post-monomorphization, which would require…
-
Consider the following code:
```rust
pub struct G;
pub trait IAmArray{
const SIZE: usize;
}
impl IAmArray for [T; N]{
const SIZE: usize = N;
}
impl G{
pub fn i_am_break_on_…
-
This is a variant of https://github.com/rust-lang/rust/issues/107503, but with a different underlying cause and hence not fixed by https://github.com/rust-lang/rust/pull/122568. @tmiasko provided this…
-
- Add a configuration object to any struct::read or fill methods, with a boolean per skippable field
- Adjust generated match statements, for example
```rust
match last_field_id {
...
3…
-
For gdb to be able to index things like hashmaps, we need to ensure that the index implementation is monomorphized correctly.
I would like to have an intrinsic, which when found in a monomorphized fu…
-
At the moment, the process of monomorphizing generics is intertwined with the type-checking process.
I'm curious whether this is out of necessity, i.e. do we need to monomorphize in order to succes…
-
Should `#[inline]` tags be present on generic functions? As far as I know, they don't actually help with inlining, since generic functions are instantiated for each type during monomorphization. Howev…
-
I (Lucas) will spend half an hour on that this morning (Monday) to see if that's very quick to fix, otherwise I will work on that next week.