News for hackers. Stuff that matters.
Re:Rust 1.40 by xiphias2 on Thursday December 19, 2019 @11:17AM (#21836218)
let x = Bar::Variant { a: 42 }; //~ ERROR

Of course it's an error, as Bar doesn't have a field called ,,a''

Re:Rust 1.40 by mark-simulacrum on Thursday December 19, 2019 @11:22AM (#21836270)
Thanks for pointing this out! Unfortunately, unlike most of our docs we don't yet have testing in place for the code examples on the blog. I've just pushed up a fix though so once that propagates this should be fixed.