Maximilian Roos

Results 1454 comments of Maximilian Roos

I don't think this exists at the moment. would be very willing to merge a change to add it — we have the equivalent for many other options...

Do inline snapshots help here? Over at PRQL we use them a lot for small snapshots...

> So snapshot files are mainly for large outputs and inline snapshots are encouraged for other scenarios? Yes, that's how I generally think about them (though just my view, not...

I think this is fairly well covered by inline snapshots, so I'll close, but feel free to reopen if you disagree

Check out https://github.com/mitsuhiko/insta/issues/456, both this: > Would be great for inline snapshots to work with `rustfmt`, but don't think there's a way — if the inline snapshot is a normal...

from https://github.com/mitsuhiko/insta/issues/605#issuecomment-2366916072 > `rustfmt` is requiring a **syntactical valid** expression, but not **semantically valid** expression. Thus there is room to find such patterns. For example, my using `-r###""###` utilize the...

@andylokandy, on further reflection, I'm not sure there's a syntax which would actually work here? We need to identify the type of macro in the `macro_rules!`. Currently we do that...

Try my branch — the rust compiler will complain about ambiguities in the macro...

Ah OK cool! If you want to make a branch / draft PR with this on, I think that would be quite helpful. Assuming the interface for users is still...