Closed
Description
This showed up as a part of RLS test failure. The string in question is
/// Bar variant\nBar,\n/// Baz variant\nBaz\n}\n\n/// Bar struct\npub struct Bar<T>{}
Repro: https://github.com/Xanewok/simple_fmt/tree/master
I'd expect the parser to catch possible panics:
Line 622 in fbeabe9
however it seems to be an aborting panic? (no backtrace)
Is this completely on rustc side or can we do something here to not abort on parse error?