I'm debugging a parser bug where
#[attrs] on the first function parameter get attached to the
PARAM_LIST instead of the
This is because this branch calls
Marker::abandon, which puts the attributes on the
PARAM_LIST parent node.
What would be the best way to fix this?
Probably returning the marker on failure instead and then continue with it in the loop?
Ye looks like this is whats done in other places as well https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/parser/src/grammar/items.rs#L87
looks good, I'll try that
looks like it worked, thanks!
might make sense to compaer this with other attr lists (like fields and such)