rust/src/test
bors b355906919 Auto merge of #51131 - qnighy:unsized-locals, r=eddyb
Implement Unsized Rvalues

This PR is the first step to implement RFC1909: unsized rvalues (#48055).

## Implemented

- `Sized` is removed for arguments and local bindings. (under `#![feature(unsized_locals)]`)
- Unsized locations are allowed in MIR
- Unsized places and operands are correctly translated at codegen

## Not implemented in this PR

- Additional `Sized` checks:
  - tuple struct constructor (accidentally compiles now)
  - closure arguments at closure generation (accidentally compiles now)
  - upvars (ICEs now)
- Generating vtable for `fn method(self)` (ICEs now)
- VLAs: `[e; n]` where `n` isn't const
- Reduce unnecessary allocations

## Current status

- [x] Fix `__rust_probestack` (rust-lang-nursery/compiler-builtins#244)
  - [x] Get the fix merged
- [x] `#![feature(unsized_locals)]`
  - [x] Give it a tracking issue number
- [x] Lift sized checks in typeck and MIR-borrowck
  - [ ] <del>Forbid `A(unsized-expr)`</del> will be another PR
- [x] Minimum working codegen
- [x] Add more examples and fill in unimplemented codegen paths
- [ ] <del>Loosen object-safety rules (will be another PR)</del>
- [ ] <del>Implement `Box<FnOnce>` (will be another PR)</del>
- [ ] <del>Reduce temporaries (will be another PR)</del>
2018-08-19 12:21:56 +00:00
..
auxiliary
codegen Auto merge of #52972 - RalfJung:from_raw_parts_align, r=alexcrichton 2018-08-19 09:40:36 +00:00
codegen-units Adapt codegen-unit tests to new CGU naming scheme. 2018-08-15 13:47:39 +02:00
compile-fail Lift some Sized checks. 2018-08-19 08:07:33 +09:00
compile-fail-fulldeps Fix undesirable fallout 2018-08-17 13:17:39 +03:00
debuginfo pretty printing for btreemap 2018-08-15 13:48:10 +09:00
incremental Clean up CodegenUnit name generation. 2018-08-15 13:47:39 +02:00
incremental-fulldeps
mir-opt patch up mir-opt tests 2018-07-26 15:12:04 +03:00
parse-fail Rollup merge of #53373 - estebank:unclosed, r=petrochenkov 2018-08-17 00:13:24 +08:00
pretty syntax: gensym the injected std/core extern crates in the Rust 2018 edition. 2018-08-14 07:06:46 +03:00
run-fail Convert unknown_features lint into an error 2018-08-05 15:54:49 +01:00
run-fail-fulldeps
run-make Auto merge of #53190 - sekineh:thumb-cortex-m, r=jamesmunns 2018-08-17 10:40:25 +00:00
run-make-fulldeps Fix some run-make tests after object file naming has changed. 2018-08-15 13:47:39 +02:00
run-pass Implement simple codegen for unsized rvalues. 2018-08-19 08:07:33 +09:00
run-pass-fulldeps Stabilize use_extern_macros 2018-08-17 13:14:26 +03:00
run-pass-valgrind Implement simple codegen for unsized rvalues. 2018-08-19 08:07:33 +09:00
rustdoc Auto merge of #50911 - petrochenkov:macuse, r=alexcrichton 2018-08-17 19:10:34 +00:00
rustdoc-js Update stdsimd to undo an accidental stabilization 2018-07-20 22:34:09 -07:00
rustdoc-ui Rollup merge of #52835 - GuillaumeGomez:ice-rustdoc-links, r=eddyb 2018-08-01 21:46:27 +02:00
rustfix
ui Lift some Sized checks. 2018-08-19 08:07:33 +09:00
ui-fulldeps Auto merge of #50911 - petrochenkov:macuse, r=alexcrichton 2018-08-17 19:10:34 +00:00
COMPILER_TESTS.md Link compiler test documentation to rustc-guide 2018-08-10 08:05:48 -06:00