News for hackers. Stuff that matters.
Re:John Carmack: writing Rust code feels wholesome by burntsushi on Sunday February 10, 2019 @09:56AM (#19127981)
> What edition 2018 has right now is migrate mode NLL which emits an error if either NLL borrowck or AST borrowck think there is an issue with your code.

If that were true, then this example would fail to compile, since it fails with the old AST borrowck: https://play.rust-lang.org/?version=stable&mode=debug&editio...

See: https://rust-lang-nursery.github.io/edition-guide/rust-2018/...

Re:John Carmack: writing Rust code feels wholesome by est31 on Sunday February 10, 2019 @10:11AM (#19128051)
Oh right, seems it got a bit more tolerant. The mode's still called migration mode though, full NLL is to be unleashed later on: https://github.com/rust-lang/rust/issues/57895