rust/library/alloc/tests
Thalia Archibald 988eb19970 library: Use size_of from the prelude instead of imported
Use `std::mem::{size_of, size_of_val, align_of, align_of_val}` from the
prelude instead of importing or qualifying them.

These functions were added to all preludes in Rust 1.80.
2025-03-06 20:20:38 -08:00
..
collections Remove a bunch of emscripten test ignores 2025-01-24 09:25:34 +00:00
sort library: Use size_of from the prelude instead of imported 2025-03-06 20:20:38 -08:00
testing Move some alloc tests to the alloctests crate 2024-12-04 14:32:04 +00:00
alloc.rs Move some alloc tests to the alloctests crate 2024-12-04 14:32:04 +00:00
arc.rs library: Use size_of from the prelude instead of imported 2025-03-06 20:20:38 -08:00
autotraits.rs apply fmt 2024-01-11 15:04:48 +03:00
borrow.rs remove redundant imports 2023-12-10 10:56:22 +08:00
boxed.rs update cfgs 2024-11-27 15:14:54 +00:00
btree_set_hash.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
c_str2.rs Move some alloc tests to the alloctests crate 2024-12-04 14:32:04 +00:00
c_str.rs Remove use of reverted std::ffi::c_char 2022-04-27 14:01:04 -07:00
const_fns.rs fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
cow_str.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
fmt.rs Update tests for hidden references to mutable static 2024-09-13 14:10:56 +03:00
heap.rs Rename AllocRef to Allocator and (de)alloc to (de)allocate 2020-12-04 14:47:15 +01:00
lib.rs Rollup merge of #137109 - bend-n:knife, r=oli-obk 2025-02-24 18:46:35 -05:00
linked_list.rs Classify BinaryHeap & LinkedList unit tests as such 2022-03-11 11:33:59 +01:00
misc_tests.rs Move some alloc tests to the alloctests crate 2024-12-04 14:32:04 +00:00
rc.rs library: Use size_of from the prelude instead of imported 2025-03-06 20:20:38 -08:00
slice.rs library: Use size_of from the prelude instead of imported 2025-03-06 20:20:38 -08:00
str.rs Rollup merge of #120580 - HTGAzureX1212:HTGAzureX1212/issue-45795, r=m-ou-se 2025-02-19 21:16:01 +01:00
string.rs Rustfmt 2025-02-08 22:12:13 +00:00
sync.rs Fix testing of the standard library with Emscripten 2025-01-24 09:25:34 +00:00
task.rs ignore some vtable/fn ptr equality tests in Miri, their result is not fully predictable 2024-08-12 10:39:11 +02:00
thin_box.rs library: Use size_of from the prelude instead of imported 2025-03-06 20:20:38 -08:00
vec_deque_alloc_error.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
vec_deque.rs Implement VecDeque::pop_front_if & VecDeque::pop_back_if 2025-01-22 20:04:36 +03:00
vec.rs library: Use size_of from the prelude instead of imported 2025-03-06 20:20:38 -08:00