Internal compiler error when compiling the code below. When I change &str to String and "shane" to "shane".to_string() it compiles. #[deriving(Show)] struct Pair<T,V>(T,V); impl Pair<&str, int> { fn say(self: &Pair<&str, int>) { println!("{}", self); } } fn main()...
We're all doomed, doomed; A plague is about to sweep across the world. But don't panic, it's just a story. Isn't it? By Brian Donaldson Disasters prompt us to seek lessons. After the tragic trifecta of earthquake, tsunami, and nuclear failure at the Fukushima Daiichi reactors in Marc...