]> git.lizzy.rs Git - rust.git/commit
Auto merge of #106627 - Ezrashaw:no-e0711-without-staged-api, r=Mark-Simulacrum
authorbors <bors@rust-lang.org>
Tue, 17 Jan 2023 07:20:32 +0000 (07:20 +0000)
committerbors <bors@rust-lang.org>
Tue, 17 Jan 2023 07:20:32 +0000 (07:20 +0000)
commit159ba8a92c9e2fa4121f106176309521f4af87e9
tree9a277b98cad12a5529f1e78389ab65616d81fbe4
parent85357e3e2ed5f4ae4760d4418bbeab9985a784aa
parentbe1a6db9f8978113021e3f1214ea66700a22fe9a
Auto merge of #106627 - Ezrashaw:no-e0711-without-staged-api, r=Mark-Simulacrum

fix: don't emit `E0711` if `staged_api` not enabled

Fixes #106589

Simple fix, added UI test.

As an aside, it seems a lot of features are susceptible to this, `E0711` stands out to me because it's perma-unstable and we are effectively exposing an implementation detail.