about summary refs log tree commit diff
path: root/src/test/ui/drop
AgeCommit message (Collapse)AuthorLines
2020-03-07test(bindings_after_at): add dynamic drop tests for bindings_after_atMatthew Kuo-0/+48
2020-02-09Auto merge of #68376 - Centril:move-ref-patterns, r=matthewjasperbors-0/+18
Initial implementation of `#![feature(move_ref_pattern)]` Following up on #45600, under the gate `#![feature(move_ref_pattern)]`, `(ref x, mut y)` is allowed subject to restrictions necessary for soundness. The match checking implementation and tests for `#![feature(bindings_after_at)]` is also adjusted as necessary. Closes #45600. Tracking issue: #68354. r? @matthewjasper
2020-02-02move_ref_patterns: introduce testsMazdak Farrokhzad-0/+18
bindings_after_at: harden tests
2020-02-02Add a resume type parameter to `Generator`Jonas Schievink-1/+1
2020-01-18slice_patterns: remove gates in testsMazdak Farrokhzad-5/+3
2019-12-09Add more tests for borrowck and dropck slice pattern handlingMatthew Jasper-0/+32
2019-10-25Re-enable Emscripten's exception handling supportThomas Lively-2/+2
Passes LLVM codegen and Emscripten link-time flags for exception handling if and only if the panic strategy is `unwind`. Sets the default panic strategy for Emscripten targets to `unwind`. Re-enables tests that depend on unwinding support for Emscripten, including `should_panic` tests.
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