about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-04-10 14:00:22 +0000
committerbors <bors@rust-lang.org>2021-04-10 14:00:22 +0000
commit4029d4d0be03b10edccb65588b522ad541b5ccaf (patch)
treed063f66fc99c499405e23b904a811de851028542 /compiler/rustc_parse/src
parent18c524fbae3ab1bf6ed9196168d8c68fc6aec61a (diff)
parent40af086ee448e4a5dad03a66dd3b7e39f7451ac7 (diff)
downloadrust-4029d4d0be03b10edccb65588b522ad541b5ccaf.tar.gz
rust-4029d4d0be03b10edccb65588b522ad541b5ccaf.zip
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.
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions