mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-18 16:07:08 +00:00
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.