]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Auto merge of #84055 - kornelski:z-edition, r=petrochenkov
authorbors <bors@rust-lang.org>
Sat, 10 Apr 2021 14:00:22 +0000 (14:00 +0000)
committerbors <bors@rust-lang.org>
Sat, 10 Apr 2021 14:00:22 +0000 (14:00 +0000)
commit4029d4d0be03b10edccb65588b522ad541b5ccaf
treed063f66fc99c499405e23b904a811de851028542
parent18c524fbae3ab1bf6ed9196168d8c68fc6aec61a
parent40af086ee448e4a5dad03a66dd3b7e39f7451ac7
Auto merge of #84055 - kornelski:z-edition, r=petrochenkov

Don't tell users to use a nightly flag on the stable channel

When a crate requires a newer edition, currently rustc tells users to use `-Z unstable-options`. This is not ideal, because:

* This flag doesn't work on the stable channel, so solution to one error only causes another error, which is frustrating.

* Directs users towards the nightly channel, which is not necessarily the correct solution. Once the next edition is released, this message will be mostly seen by users of out-of-date stable Rust versions who merely need to update their Rust to the latest stable.