consider bannig empty panic
/unreachable
/ bug
s from rustc codebase #118955
Open
Description
opened on Dec 14, 2023
git grep "[^e]bug\!()" compiler 130
git grep "panic\!()" compiler 43
git grep "unreachable\!()" compiler 384
I wonder if it makes sense to try to fill these up with at least somewhat contextual error/ice messages instead of just a "panicked at" or "impossible case reached"?
Unfortunately I could not find a rustc lint that warns on empty panics like these
Activity