check that first arg to panic!() in const is &str
#80734
Merged
panic!() in const is &str
#80734