about summary refs log tree commit diff
path: root/library/alloc/tests
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2021-08-16 23:37:30 +0200
committerGitHub <noreply@github.com>2021-08-16 23:37:30 +0200
commitfa4edcc8518f1aa58b7b41ed6c1de715f20b5403 (patch)
treec6286bc014e12e1d6fa63101d1bb3c99f9bb3e80 /library/alloc/tests
parentfe71be7f340160a9aedf66d3cfa78bb4c6e43374 (diff)
parentf25d2bd53b939a9f4e5adf5af7e9ebb3787f730a (diff)
Rollup merge of #88030 - fee1-dead:fixme, r=oli-obk
Assign FIXMEs to me and remove obsolete ones

Also fixed capitalization of documentation

We also don't need to transform predicates to be non-const since we basically ignore const predicates in non-const contexts.

r? `````@oli-obk`````
Diffstat (limited to 'library/alloc/tests')
-rw-r--r--library/alloc/tests/const_fns.rs2
-rw-r--r--library/alloc/tests/lib.rs2
2 files changed, 1 insertions, 3 deletions
diff --git a/library/alloc/tests/const_fns.rs b/library/alloc/tests/const_fns.rs
index 02e8f8f4022..b6ef3eee291 100644
--- a/library/alloc/tests/const_fns.rs
+++ b/library/alloc/tests/const_fns.rs
@@ -10,7 +10,7 @@ pub const MY_VEC: Vec<usize> = Vec::new();
 #[allow(dead_code)]
 pub const MY_STRING: String = String::new();
 
-// FIXME remove this struct once we put `K: ?const Ord` on BTreeMap::new.
+// FIXME(fee1-dead) remove this struct once we put `K: ?const Ord` on BTreeMap::new.
 #[derive(PartialEq, Eq, PartialOrd)]
 pub struct MyType;
 
diff --git a/library/alloc/tests/lib.rs b/library/alloc/tests/lib.rs
index f7d68b5a89e..7284c05d5ff 100644
--- a/library/alloc/tests/lib.rs
+++ b/library/alloc/tests/lib.rs
@@ -25,8 +25,6 @@
 #![feature(string_remove_matches)]
 #![feature(const_btree_new)]
 #![feature(const_trait_impl)]
-// FIXME remove this when const_trait_impl is not incomplete anymore
-#![allow(incomplete_features)]
 
 use std::collections::hash_map::DefaultHasher;
 use std::hash::{Hash, Hasher};