]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #87769 - m-ou-se:alloc-features-cleanup, r=yaahc,dtolnay
authorYuki Okushi <jtitor@2k36.org>
Tue, 19 Oct 2021 19:35:12 +0000 (04:35 +0900)
committerGitHub <noreply@github.com>
Tue, 19 Oct 2021 19:35:12 +0000 (04:35 +0900)
commit71fcb72307e2bb9512d291d33f2adace2406e65a
tree816fea07aae95bd9e61007104f703c6ba9825eec
parent3d9533023004bc05d6bf65e1339e29aceac76f62
parent6fdcedc9c8eff1f56c1568bb936638f1249cd2aa
Rollup merge of #87769 - m-ou-se:alloc-features-cleanup, r=yaahc,dtolnay

Alloc features cleanup

This sorts and categorizes the `#![features]` in `alloc` and removes unused ones.

This is part of #87766

The following feature attributes were unnecessary and are removed:

```diff
// Library features:
-#![feature(cow_is_borrowed)]
-#![feature(maybe_uninit_uninit_array)]
-#![feature(slice_partition_dedup)]

// Language features:
-#![feature(arbitrary_self_types)]
-#![feature(auto_traits)]
-#![feature(box_patterns)]
-#![feature(decl_macro)]
-#![feature(nll)]
```