about summary refs log tree commit diff
path: root/src/test/ui/drop
AgeCommit message (Collapse)AuthorLines
2019-10-21Rollup merge of #62330 - SimonSapin:no-drop-in-union-fields, r=RalfJungMazdak Farrokhzad-6/+6
Change untagged_unions to not allow union fields with drop This is a rebase of #56440, massaged to solve merge conflicts and make the test suite pass. Change untagged_unions to not allow union fields with drop Union fields may now never have a type with attached destructor. This for example allows unions to use arbitrary field types only by wrapping them in `ManuallyDrop` (or similar). The stable rule remains, that union fields must be `Copy`. We use the new rule for the `untagged_union` feature. Tracking issue: https://github.com/rust-lang/rust/issues/55149
2019-10-16Upgrade Emscripten targets to use upstream LLVM backendThomas Lively-2/+2
- Compatible with Emscripten 1.38.46-upstream or later upstream. - Refactors the Emscripten target spec to share code with other wasm targets. - Replaces the old incorrect wasm32 C call ABI with the correct one, preserving the old one as wasm32_bindgen_compat for wasm-bindgen compatibility. - Updates the varargs ABI used by Emscripten and deletes the old one. - Removes the obsolete wasm32-experimental-emscripten target. - Uses EMCC_CFLAGS on CI to avoid the timeout problems with #63649.
2019-10-11Remove most uses of `allow(unions_with_drop_fields)` in testsSimon Sapin-6/+6
2019-10-09Revert "Make `into` schedule drop for the destination"Matthew Jasper-286/+158
This reverts commit 37026837a3f23486d3cf1009d9136927168ddb33.
2019-10-04Make `into` schedule drop for the destinationMatthew Jasper-158/+286
2019-09-15use println!()Guanqun Lu-15/+15
2019-09-08Update test stderr with results of enabling unused lintsMark Rousskov-0/+1
2019-08-20Remove async_await gates from tests.Mazdak Farrokhzad-3/+0
2019-07-28Use new 'p @ ..' syntax in tests.Mazdak Farrokhzad-5/+5
2019-07-27tests: Move run-pass tests without naming conflicts to uiVadim Petrochenkov-0/+2483