diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2014-07-04 00:56:57 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2014-07-04 00:56:57 -0700 |
| commit | 29ec2506abb1d382e432cae2519aa7b7695c276a (patch) | |
| tree | 8548c1ac829f431dd07f930f8c0de909448b57cd /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 1bff1ff810dcfa8064c11e2b84473f053d1f69f1 (diff) | |
| download | rust-29ec2506abb1d382e432cae2519aa7b7695c276a.tar.gz rust-29ec2506abb1d382e432cae2519aa7b7695c276a.zip | |
librustc: Remove the `&LIFETIME EXPR` production from the language.
This was parsed by the parser but completely ignored; not even stored in
the AST!
This breaks code that looks like:
static X: &'static [u8] = &'static [1, 2, 3];
Change this code to the shorter:
static X: &'static [u8] = &[1, 2, 3];
Closes #15312.
[breaking-change]
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
