rust/compiler/rustc_middle/src
bors 41e0363055 Auto merge of #104602 - petrochenkov:effvisperf5, r=oli-obk
privacy: Fix more (potential) issues with effective visibilities

Continuation of https://github.com/rust-lang/rust/pull/103965.
See individual commits for more detailed description of the changes.

The shortcuts removed in 4eb63f618e and c7c7d16727 could actually be correct (or correct after some tweaks), but they used global reasoning like "we can skip this update because if the code compiles then some other update should do the same thing eventually".
I have some expertise in this area, but I still have doubt whether such global reasoning was correct or not, especially in presence of all possible exotic cases with imports.
After this PR all table changes should be "locally correct" after every update, even if it may be overcautious.
If similar optimizations are introduced again they will need detailed comments explaining why it's legal to do what they do and providing proofs.

Fixes https://github.com/rust-lang/rust/issues/104249.
Fixes https://github.com/rust-lang/rust/issues/104539.
2022-11-25 06:14:42 +00:00
..
dep_graph Allow query system to recover a HirId. 2022-10-01 15:58:42 +02:00
hir Unreserve braced enum variants in value namespace 2022-11-21 22:40:06 +03:00
infer Add an optional Span to BrAnon and use it to print better error for HRTB error from generator interior 2022-11-07 17:39:29 -05:00
middle Auto merge of #104602 - petrochenkov:effvisperf5, r=oli-obk 2022-11-25 06:14:42 +00:00
mir Auto merge of #103578 - petrochenkov:nofict, r=nagisa 2022-11-22 10:17:09 +00:00
query Auto merge of #103808 - cjgillot:vec-cache, r=TaKO8Ki 2022-11-24 06:32:23 +00:00
thir Use boxed slices in PatKind. 2022-09-02 07:26:22 +10:00
traits Avoid GenFuture shim when compiling async constructs 2022-11-24 10:04:27 +01:00
ty Auto merge of #104845 - matthiaskrgr:rollup-tckj956, r=matthiaskrgr 2022-11-24 23:45:32 +00:00
util span: move MultiSpan 2022-04-05 07:01:00 +01:00
arena.rs make rustc_target usable outside of rustc 2022-11-24 16:26:12 +03:30
error.rs Match crate and slug names 2022-11-21 15:24:50 +01:00
lib.rs cfg-step code 2022-11-06 17:21:21 -05:00
lint.rs fix: typo 2022-11-06 11:22:29 -05:00
macros.rs add inline to TrivialTypeTraversalImpls 2022-10-17 10:54:03 +02:00
metadata.rs rustc: Parameterize ty::Visibility over used ID 2022-09-07 13:35:41 +04:00
tests.rs
thir.rs Unreserve braced enum variants in value namespace 2022-11-21 22:40:06 +03:00
values.rs Add domain size check to fix ICE 2022-11-09 10:19:23 -06:00