]> git.lizzy.rs Git - rust.git/commit
auto merge of #15405 : pcwalton/rust/delifetime, r=nick29581
authorbors <bors@rust-lang.org>
Fri, 4 Jul 2014 19:01:33 +0000 (19:01 +0000)
committerbors <bors@rust-lang.org>
Fri, 4 Jul 2014 19:01:33 +0000 (19:01 +0000)
commit935da0739e71c5581e5e6abb564e18f894e0ec04
treefebd32b41fc7a597d749fbd231f54b7137bed9a1
parent25e8b6ed9c9cf60448eb95a0e8a42330ed44f479
parent29ec2506abb1d382e432cae2519aa7b7695c276a
auto merge of #15405 : pcwalton/rust/delifetime, r=nick29581

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]

r? @nick29581