rust/compiler/rustc_resolve/src
bors 2deff71719 Auto merge of #105462 - oli-obk:feeding_full, r=cjgillot,petrochenkov
give the resolver access to TyCtxt

The resolver is now created after TyCtxt is created. Then macro expansion and name resolution are run and the results fed into queries just like before this PR.

Since the resolver had (before this PR) mutable access to the `CStore` and the source span table, these two datastructures are now behind a `RwLock`. To ensure that these are not mutated anymore after the resolver is done, a read lock to them is leaked right after the resolver finishes.

### PRs split out of this one and leading up to it:

* https://github.com/rust-lang/rust/pull/105423
* https://github.com/rust-lang/rust/pull/105357
* https://github.com/rust-lang/rust/pull/105603
* https://github.com/rust-lang/rust/pull/106776
* https://github.com/rust-lang/rust/pull/106810
* https://github.com/rust-lang/rust/pull/106812
* https://github.com/rust-lang/rust/pull/108032
2023-02-21 01:19:25 +00:00
..
diagnostics Implement the unused_macro_rules lint 2022-05-05 19:13:00 +02:00
late Auto merge of #105462 - oli-obk:feeding_full, r=cjgillot,petrochenkov 2023-02-21 01:19:25 +00:00
build_reduced_graph.rs Remove definitions field that is only needed for one method 2023-02-20 15:28:59 +00:00
check_unused.rs Prepare for adding a TyCtxt to Resolver 2023-02-20 10:38:48 +00:00
def_collector.rs Separate the lifetime of the session and the arena in the resolver 2023-02-14 10:01:25 +00:00
diagnostics.rs Auto merge of #105462 - oli-obk:feeding_full, r=cjgillot,petrochenkov 2023-02-21 01:19:25 +00:00
effective_visibilities.rs Remove ResolverTree 2023-02-20 15:28:59 +00:00
errors.rs migrating rustc_resolve to SessionDiagnostic. work in progress. start 2022-11-13 19:39:26 +05:30
ident.rs Prepare for adding a TyCtxt to Resolver 2023-02-20 10:38:48 +00:00
imports.rs Auto merge of #105462 - oli-obk:feeding_full, r=cjgillot,petrochenkov 2023-02-21 01:19:25 +00:00
late.rs Auto merge of #105462 - oli-obk:feeding_full, r=cjgillot,petrochenkov 2023-02-21 01:19:25 +00:00
lib.rs Remove ResolverTree 2023-02-20 15:28:59 +00:00
macros.rs Remove a redundant function argument 2023-02-20 15:28:58 +00:00
rustdoc.rs Rollup merge of #108129 - GuillaumeGomez:correctly-handle-links-starting-with-whitespace, r=petrochenkov 2023-02-19 14:47:55 +01:00