about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-10-23 20:58:14 +0000
committerbors <bors@rust-lang.org>2019-10-23 20:58:14 +0000
commit850dfdae60cd8b28a40b099f8e390534205b9ede (patch)
tree0b7cf68dacd7367aa041c58cd845a9f25080f42e /src/test/incremental/thinlto
parent087e5eaea5c23d65e2b58b5f89e52b3a9f8aa31b (diff)
parent5572476a36f85959ec820d0886548a747ce0570a (diff)
downloadrust-850dfdae60cd8b28a40b099f8e390534205b9ede.tar.gz
rust-850dfdae60cd8b28a40b099f8e390534205b9ede.zip
Auto merge of #4680 - hellow554:debug_assert_mut_call, r=flip1995
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`
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions