This adds a lot of boilerplate which could be simplified by macros.
I was planning on cleaning this up before pushing it but here it is!
Caveat: I haven't tested this in versions of rust other than whatever i happen to be using by default right now! I did try to make the changes compatible with 1.25.0 (e.g. &/ref noise in matches) but that was just to minimize future work and I might not have been thorough here
This adds a lot of boilerplate which could be simplified by macros.
I was planning on cleaning this up before pushing it but here it is!
Caveat: I haven't tested this in versions of rust other than whatever i happen to be using by default right now! I did try to make the changes compatible with 1.25.0 (e.g.
&
/ref
noise in matches) but that was just to minimize future work and I might not have been thorough here