rust/tests
bors 6be0f7414d Auto merge of #11780 - Jacherr:vec-allocator-nolint, r=xFrednet
Disable `vec_box` when using different allocators

Fixes #7114

This PR disables the `vec_box` lint when the `Box` and `Vec` use different allocators (but not when they use the same - custom - allocator).

For example - `Vec<Box<i32, DummyAllocator>>` will disable the lint, and `Vec<Box<i32, DummyAllocator>, DummyAllocator>` will not disable the lint.

In addition, the applicability of this lint has been changed to `Unspecified` due to the automatic fixes potentially breaking code such as the following:

```rs
fn foo() -> Vec<Box<i32>> { // -> Vec<i32>
  vec![Box::new(1)]
}
```

It should be noted that the `if_chain->let-chains` fix has also been applied to this lint, so the diff does contain many changes.

changelog: disable `vec_box` lint when using nonstandard allocators
2023-11-09 23:33:46 +00:00
..
test_utils
ui Auto merge of #11780 - Jacherr:vec-allocator-nolint, r=xFrednet 2023-11-09 23:33:46 +00:00
ui-cargo
ui-internal Move configuration to new clippy_config crate 2023-10-23 20:05:10 +00:00
ui-toml Merge commit '2b030eb03d9e5837440b1ee0b98c50b97c0c5889' into clippyup 2023-10-21 14:16:11 +02:00
workspace_test
check-fmt.rs
clippy.toml
compile-test.rs Move configuration to new clippy_config crate 2023-10-23 20:05:10 +00:00
dogfood.rs Hide config implementation details from public docs 2023-10-24 11:52:17 +00:00
headers.rs
integration.rs
lint_message_convention.rs
missing-test-files.rs
versioncheck.rs Move configuration to new clippy_config crate 2023-10-23 20:05:10 +00:00
workspace.rs