mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 01:28:18 +03:00
850dfdae60
Add lint for debug_assert_with_mut_call closes #1526 **What does not work:** * detecting a mut call in the format string itself, e.g. `debug_assert!(false, "{}", vec![1].pop())` * detecting `*mut T` usage (pointer) --- changelog: add new lint `debug_assert_with_mut_call`