rust/compiler/rustc_passes/src
bors 159ba8a92c 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.
2023-01-17 07:20:32 +00:00
..
liveness Use iter::zip in compiler/ 2021-03-26 09:32:31 -07:00
check_attr.rs [RFC 2397] Deny incorrect locations 2023-01-12 08:41:21 -03:00
check_const.rs Remove code that was removed in master, and the corresponding diagnostic 2022-10-07 13:19:28 -06:00
dead.rs change impl_trait_ref query to return EarlyBinder; remove bound_impl_trait_ref query; add EarlyBinder to impl_trait_ref in metadata 2023-01-14 00:29:56 -07:00
debugger_visualizer.rs rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
diagnostic_items.rs rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
entry.rs Rename some OwnerId fields. 2022-10-29 20:28:38 +11:00
errors.rs [RFC 2397] Deny incorrect locations 2023-01-12 08:41:21 -03:00
hir_id_validator.rs Verify that HIR parenting and Def parenting match. 2022-11-26 17:28:59 +00:00
hir_stats.rs Rename Rptr to Ref in AST and HIR 2022-12-28 18:52:36 +01:00
lang_items.rs avoid .into() conversion to identical types 2022-12-18 16:20:32 +01:00
layout_test.rs rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
lib.rs Lint against usages of struct_span_lint_hir. 2022-10-29 18:03:47 +08:00
lib_features.rs fix: don't emit E0711 if staged_api not enabled 2023-01-14 22:04:42 +13:00
liveness.rs A few small cleanups for newtype_index 2022-12-18 21:47:28 +01:00
loops.rs Specify that break cannot be used outside of loop *or* labeled block 2022-11-05 01:12:58 +00:00
naked_functions.rs migrate naked_functions.rs to translateable diagnostics 2022-10-07 13:19:27 -06:00
reachable.rs rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
stability.rs change impl_trait_ref query to return EarlyBinder; remove bound_impl_trait_ref query; add EarlyBinder to impl_trait_ref in metadata 2023-01-14 00:29:56 -07:00
upvars.rs rustc_hir: Relax lifetime requirements on Visitor::visit_path 2022-12-01 17:04:02 +03:00
weak_lang_items.rs rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00