chumsky
chumsky copied to clipboard
Revert MapExtra lifetime commit (and re-move to input module)
Note to self: DONT FORGET TO RUN WITH ALL FEATURES ENABLED :sob:
Looks like there a few more things that need fixing as per the CI failures.
Okay, it should be good to merge now. The only thing that might be of concern is the revert changed the slice() function from:
self.inp.slice(self.before..self.after)
to:
self.inp.slice_since(self.before..)
Okay, it should be good to merge now. The only thing that might be of concern is the revert changed the slice() function from:
self.inp.slice(self.before..self.after)
to:self.inp.slice_since(self.before..)
That would be an incorrect change, I think .slice(...)
is correct here. Any chance you could remake that change?
Fixed the issue but I think latest nightly broke CI :( Works locally on cargo 1.78.0-nightly (cdf84b69d 2024-02-02), but is broken in the CI on 2024-02-05. My nix rust overlay isn't recent enough to test that version tho...
Argh, that's annoying, looks like we might need to update ahash
. I'll merge this regardless, thanks!
Hmm, I admit I'm still a little confused by the original issue you had. What lifetime error were you running into again?
I'm not sure exactly, but I think it may have had something to do with a lifetime being joined / not stored on the MapExtra struct. It bugs in my project on this commit: https://github.com/libdither/disp/tree/c65ac0d3e7e4f610bd5f3f18cf4a86d042dc5b6b and I bisected it back to the chumsky commit where the extra lifetime is removed.