about summary refs log tree commit diff
path: root/library/std/src/sys/pal/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-04-28 20:10:33 +0000
committerbors <bors@rust-lang.org>2024-04-28 20:10:33 +0000
commite68fcb09734cc63ddbac7c0263a9d1b6e2549cd5 (patch)
tree2a502a237d03e42be9e28d7bc979898a7e134568 /library/std/src/sys/pal/unix/stack_overflow.rs
parentca1ddc0e7c8ddfb034bc1cd7c13cfdcadf8a55b6 (diff)
parent87efce4fa22f51075e1fd25904f757f783eebfdc (diff)
downloadrust-e68fcb09734cc63ddbac7c0263a9d1b6e2549cd5.tar.gz
rust-e68fcb09734cc63ddbac7c0263a9d1b6e2549cd5.zip
Auto merge of #12725 - llogiq:allow-useless-test-vecs, r=blyxyas
configurably allow `useless_vec` in tests

This adds a `àllow-useless-vec-in-test` configuration which, when set to `true` will allow the `useless_vec` lint in `#[test]` functions and code within `#[cfg(test)]`. It also moves a `is_in_test` helper to `clippy_utils`.

---

changelog: configurably allow [`useless_vec`] in test code
Diffstat (limited to 'library/std/src/sys/pal/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions