rust/library/alloc/tests
Deadbeef b5afa6807b
Constified Default implementations
The libs-api team agrees to allow const_trait_impl to appear in the
standard library as long as stable code cannot be broken (they are
properly gated) this means if the compiler teams thinks it's okay, then
it's okay.

My priority on constifying would be:

	1. Non-generic impls (e.g. Default) or generic impls with no
	   bounds
	2. Generic functions with bounds (that use const impls)
	3. Generic impls with bounds
	4. Impls for traits with associated types

For people opening constification PRs: please cc me and/or oli-obk.
2021-08-17 07:15:54 +00:00
..
arc.rs Add Weak may_dangle tests 2021-05-20 19:42:29 -07:00
binary_heap.rs Fix may not to appropriate might not or must not 2021-07-29 01:15:20 -04:00
borrow.rs Move various ui const tests to library 2020-09-04 02:35:27 +02:00
boxed.rs review: fix nits and move panic safety tests to the correct place 2020-09-25 23:10:24 +02:00
btree_set_hash.rs Move btree unit test to their native, privileged location 2020-08-14 17:54:09 +02:00
const_fns.rs Constified Default implementations 2021-08-17 07:15:54 +00:00
cow_str.rs
fmt.rs Auto merge of #78618 - workingjubilee:ieee754-fmt, r=m-ou-se 2021-03-27 10:40:16 +00:00
heap.rs Rename AllocRef to Allocator and (de)alloc to (de)allocate 2020-12-04 14:47:15 +01:00
lib.rs Constified Default implementations 2021-08-17 07:15:54 +00:00
linked_list.rs
rc.rs Add Weak may_dangle tests 2021-05-20 19:42:29 -07:00
slice.rs Improve wording, correct -> tight. 2021-08-13 15:27:30 +02:00
str.rs Add test for the fix 2021-07-11 17:47:57 +02:00
string.rs Use assert_matches! instead of if let {} else 2021-08-07 14:48:27 +01:00
vec.rs Use assert_matches! instead of if let {} else 2021-08-07 14:48:27 +01:00
vec_deque.rs Use assert_matches! instead of if let {} else 2021-08-07 14:48:27 +01:00