Test cleanups to match #[track_caller] in panic!.
* Removes unnecessary feature flag from track_caller test. * Tests of panic internals no longer need to explicitly construct Location. * Add #![warn(const_err)] to retain-never-const per @oli-obk. * Add track_caller test with diverging function.
Showing
想要评论请 注册 或 登录