Handcraft many bundles at once#72
Conversation
ccba2bc to
043034a
Compare
043034a to
804a644
Compare
|
Looks good. Instead of creating a new |
|
It could yeah, the only user change needed would be |
|
Not inferrable, but it could default to 1 right? Think that would be a really nice interface |
|
Rust doesn't allow defaults for const generics in functions unfortunately |
|
Fair enough. I thought I had used them on |
|
Just tried it out to test the ergonomics and ran into an issue. The relevant part of my save is and on the last line I get error[E0275]: overflow evaluating the requirement I might look into it myself, but I don't have time at the moment. |
|
Ah shoot, I hadn't actually tried using it >< |
|
lol. I was very close to just merging it, but stopped myself thinking I really should try it out first |
|
I mean it will work if there's no inference at all, but here you're asking it to infer the bundle size and that's murky const generics shenanigans i didn't think of |
|
What is the intended usage? but got the same general error. If even I can't immediately figure out usage we should at least include an example in the doc. |
|
Oh, if that doesn't work then this is useless :( |
|
I'd love to have the feature if we can find some way to make it work. The error is specifically for checking a requirement, so maybe there's a way to change that to make it work. |
804a644 to
161bd3c
Compare
|
I'm very confused, |
ac3c430 to
2667f5b
Compare
|
I'm still getting the error. As you can see I've attempted to specify everything to make the compiler's job as easy as possible, but I still get |
5e48785 to
a03a0fe
Compare
|
Wow, this was rust-lang/rust#145069. Implemented the fix suggested there. |
Fixes #64. Based on #70 for the
MultiBundlegoodies.