Is there an exhaustive list somewhere of all the places in Rust language and std which can cause a panic?
Off the top of my head: numeric overflow/underflow, out of bounds indexing, explicit panic macro and similar macros, assertion macros, unwrap/expect and similar methods
@nrc pretty much anything that mutates Vec can panic due to allocation failure. Probably other collections are similar.