rust/compiler/rustc_passes/src
bors 24699bcbad Auto merge of #95956 - yaahc:stable-in-unstable, r=cjgillot
Support unstable moves via stable in unstable items

part of https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/moving.20items.20to.20core.20unstably and a blocker of https://github.com/rust-lang/rust/pull/90328.

The libs-api team needs the ability to move an already stable item to a new location unstably, in this case for Error in core. Otherwise these changes are insta-stable making them much harder to merge.

This PR attempts to solve the problem by checking the stability of path segments as well as the last item in the path itself, which is currently the only thing checked.
2022-07-14 13:42:09 +00:00
..
liveness Use iter::zip in compiler/ 2021-03-26 09:32:31 -07:00
check_attr.rs Auto merge of #95956 - yaahc:stable-in-unstable, r=cjgillot 2022-07-14 13:42:09 +00:00
check_const.rs Rename debugging_opts to unstable_opts 2022-07-13 17:47:06 -05:00
dead.rs Rewrite dead-code pass to avoid fetching HIR. 2022-06-22 20:48:18 +02:00
debugger_visualizer.rs Respond to PR comments. 2022-05-25 10:44:56 -07:00
diagnostic_items.rs remove DiagnosticItemCollector 2022-05-13 11:46:05 -04:00
entry.rs rustc_passes: De-duplicate more code with fn throw_attr_err() 2022-06-25 21:43:33 +02:00
hir_id_validator.rs Rename debugging_opts to unstable_opts 2022-07-13 17:47:06 -05:00
hir_stats.rs move else block into the Local struct 2022-07-11 23:20:37 +02:00
lang_items.rs use def_span and def_kind queries instead of calling tcx.hir() methods 2022-05-06 12:11:05 -04:00
layout_test.rs remove LayoutTest 2022-05-13 11:46:05 -04:00
lib_features.rs Remove unused hir_id arg from visit_attribute. 2022-06-16 09:52:04 +10:00
lib.rs Fully stabilize NLL 2022-06-03 17:16:41 -04:00
liveness.rs move else block into the Local struct 2022-07-11 23:20:37 +02:00
loops.rs Add an indirection for closures in hir::ExprKind 2022-07-12 21:00:13 +04:00
naked_functions.rs Reword comments and rename HIR visiting methods. 2022-07-07 16:01:43 +02:00
reachable.rs Add an indirection for closures in hir::ExprKind 2022-07-12 21:00:13 +04:00
stability.rs Auto merge of #95956 - yaahc:stable-in-unstable, r=cjgillot 2022-07-14 13:42:09 +00:00
upvars.rs Make ExprKind::Closure a struct variant. 2022-06-12 00:16:27 +02:00
weak_lang_items.rs rustc_target: Remove some redundant target properties 2022-06-18 01:09:20 +03:00