Created
April 17, 2013 18:34
-
-
Save mstewartgallus/5406626 to your computer and use it in GitHub Desktop.
Rust Compiler Fails to properly compile data structures that contain static lists
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct T (&'static [int]); | |
static t : T = T (&'static [5, 4, 3]); | |
fn main () { | |
io::println (fmt! ("%?", t)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment