mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 05:57:03 +03:00
29ec2506ab
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]