diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-11-26 09:44:14 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-11-26 16:49:35 -0800 |
| commit | 51d146a56a0598b11efe79b5e2e6d5a70698abc1 (patch) | |
| tree | 7176e06878850956dc6ecd098ded3943eeaab76e /src/test/codegen/stack-alloc-string-slice.cc | |
| parent | 74f0ceba6c956e8a332993db8dd667de3c461aa2 (diff) | |
| parent | 080e625dae129aad7db4e69d74fa0f767f700325 (diff) | |
| download | rust-51d146a56a0598b11efe79b5e2e6d5a70698abc1.tar.gz rust-51d146a56a0598b11efe79b5e2e6d5a70698abc1.zip | |
rollup merge of #19266: aochagavia/const
With this PR, the following code works:
```
#![feature(tuple_indexing)]
struct MyStruct { field1: uint }
const S: MyStruct = MyStruct { field1: 42u };
const T: (uint,) = (42u,);
struct ConstCheck {
array1: [int, ..S.field1],
array2: [int, ..T.0],
}
```
Closes https://github.com/rust-lang/rust/issues/19244
Related https://github.com/rust-lang/rust/issues/19265
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.cc')
0 files changed, 0 insertions, 0 deletions
