rust/src/test
bors 127a11a344 Auto merge of #70362 - TimDiekmann:alloc-overhaul, r=Amanieu
Overhaul of the `AllocRef` trait to match allocator-wg's latest consens; Take 2

GitHub won't let me reopen #69889 so I make a new PR.

In addition to #69889 this fixes the unsoundness of `RawVec::into_box` when using allocators supporting overallocating. Also it uses `MemoryBlock` in `AllocRef` to unify `_in_place` methods by passing `&mut MemoryBlock`. Additionally, `RawVec` now checks for `size_of::<T>()` again and ignore every ZST. The internal capacity of `RawVec` isn't used by ZSTs anymore, as `into_box` now requires a length to be specified.

r? @Amanieu

fixes rust-lang/wg-allocators#38
fixes rust-lang/wg-allocators#41
fixes rust-lang/wg-allocators#44
fixes rust-lang/wg-allocators#51
2020-04-02 06:08:35 +00:00
..
assembly
auxiliary Auto merge of #68452 - msizanoen1:riscv-abi, r=nagisa,eddyb 2020-02-08 18:10:48 +00:00
codegen Update tests to use llvm_asm! 2020-03-26 15:49:22 +00:00
codegen-units Remove -Z incremental. 2020-03-24 12:08:30 +11:00
compile-fail Update tests to use llvm_asm! 2020-03-26 15:49:22 +00:00
debuginfo Test and fix gdb pretty printing again 2020-03-26 23:09:20 +00:00
incremental update tests 2020-03-31 19:01:49 +02:00
mir-opt Auto merge of #69916 - oli-obk:mir_bless, r=eddyb 2020-03-27 12:58:34 +00:00
pretty Update tests to use llvm_asm! 2020-03-26 15:49:22 +00:00
run-fail better lint names 2020-02-18 22:49:47 +01:00
run-make Auto merge of #67878 - Others:opt-3, r=Mark-Simulacrum 2020-01-31 00:03:55 +00:00
run-make-fulldeps rustc -> rustc_middle part 5 -- fix tests 2020-03-30 07:21:44 +02:00
run-pass-valgrind
rustdoc introduce negative_impls feature gate and document 2020-03-26 06:52:55 -04:00
rustdoc-js Add tests for struct variant field in search 2020-02-02 19:18:31 +01:00
rustdoc-js-std Add tests for new of variables 2020-03-16 18:30:26 +01:00
rustdoc-ui Auto merge of #66938 - GuillaumeGomez:lint-for-no-crate-level-doc, r=Dylan-DPC 2020-03-28 20:11:01 +00:00
rustfix
ui Auto merge of #70362 - TimDiekmann:alloc-overhaul, r=Amanieu 2020-04-02 06:08:35 +00:00
ui-fulldeps rustc -> rustc_middle part 5 -- fix tests 2020-03-30 07:21:44 +02:00
COMPILER_TESTS.md rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org 2020-03-10 17:08:18 -03:00