News for hackers. Stuff that matters.
Re:Rust 1.34.0 by steveklabnik on Thursday April 11, 2019 @06:20PM (#19639856)
Please see the discussion below; I already discussed this at length :)
Re:Rust 1.34.0 by nixpulvis on Thursday April 11, 2019 @08:05PM (#19640584)
Just so I'm clear, are you saying then that it's not possible or desireble to have Rust 201X code link against Rust 201Y STD? Or would that work?

Sorry if I'm not making my thought very clear.

Re:Rust 1.34.0 by steveklabnik on Thursday April 11, 2019 @08:44PM (#19640834)
It is not possible to have the standard library be different for different editions; it must be the same in all of them. There’s no #[cfg(edition=“”)] construct.
Re:Rust 1.34.0 by hyperman1 on Friday April 12, 2019 @07:10AM (#19643748)
Can't there be a # [deprecate(untiledition=2018)] to solve this? The standard library contains all the old stuff but it becomes inaccessible in all editions after 2018.
Re:Rust 1.34.0 by steveklabnik on Friday April 12, 2019 @07:58AM (#19643987)
There can not.
Re:Rust 1.34.0 by nixpulvis on Thursday April 11, 2019 @09:26PM (#19641089)
Gotcha, thanks for taking the time to explain.

I hope I didn't come off as being to negative about the change. Warnings are still a pretty good solution here.

Re:Rust 1.34.0 by steveklabnik on Thursday April 11, 2019 @11:01PM (#19641572)
It’s all good!