rust/src/tools
bors 49c0861ed0 Auto merge of #87234 - cjgillot:lower-mono, r=petrochenkov
Lower only one HIR owner at a time

Based on https://github.com/rust-lang/rust/pull/83723
Additional diff is here: https://github.com/cjgillot/rust/compare/ownernode...lower-mono

Lowering is very tangled and has a tendency to intertwine the transformation of different items. This PR aims at simplifying the logic by:
- moving global analyses to the resolver (item_generics_num_lifetimes, proc_macros, trait_impls);
- removing a few special cases (non-exported macros and use statements);
- restricting the amount of available information at any one time;
- avoiding back-and-forth between different owners: an item must now be lowered all at once, and its parent cannot refer to its nodes.

I also removed the sorting of bodies by span.  The diagnostic ordering changes marginally, since definitions are pretty much sorted already according to the AST. This uncovered a subtlety in thir-unsafeck.

(While these items could logically be in different PRs, the dependency between commits and the amount of conflicts force a monolithic PR.)
2021-09-21 07:52:15 +00:00
..
build-manifest build-manifest: Add m68k-unknown-linux-gnu target 2021-09-17 15:07:13 +00:00
bump-stage0 pin the stage0 hashes in src/stage0.json 2021-08-26 15:29:30 +02:00
cargo@9a28ac83c9 Update cargo 2021-09-18 13:58:26 -07:00
cargotest rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
clippy Do not store visibility in *ItemRef. 2021-09-20 00:29:53 +02:00
compiletest compiletest: Add m68k to ARCH_TABLE 2021-09-17 15:07:13 +00:00
error_index_generator rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
expand-yaml-anchors rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
html-checker rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
jsondocck rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
linkchecker Fix linkcheck issues 2021-09-12 02:30:24 +00:00
lint-docs rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
miri@0359331869 Update Miri 2021-09-10 22:17:57 +08:00
remote-test-client rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
remote-test-server rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
rls@bf88026f11 Bump RLS submodule 2021-09-07 11:16:31 -04:00
rust-analyzer@b73b321478 ⬆️ rust-analyzer 2021-09-06 11:05:05 +03:00
rust-demangler rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
rust-installer@5254dbfd25 bump rust-installer submodule 2020-12-28 12:48:11 +01:00
rustbook Update mdbook. 2021-08-02 09:20:29 -07:00
rustc-workspace-hack rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
rustdoc rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
rustdoc-gui Greatly improve limitation handling on parallel rustdoc GUI test run 2021-08-23 14:23:59 +02:00
rustdoc-js Fix rustdoc-js tool string "parsing" 2021-08-11 20:20:17 +02:00
rustdoc-themes rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
rustfmt Rollup merge of #88775 - pnkfelix:revert-anon-union-parsing, r=davidtwco 2021-09-15 14:56:58 -07:00
tidy Auto merge of #82183 - michaelwoerister:lazier-defpathhash-loading2, r=wesleywiser 2021-09-18 14:37:39 +00:00
tier-check rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
unicode-table-generator rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
unstable-book-gen rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
x rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
cherry-pick.sh Add cherry-pick.sh convenience script. 2021-08-20 11:58:18 +01:00
publish_toolstate.py Disable validate_maintainers. 2021-09-15 09:25:06 -07:00