rust/compiler
bors 5b45024487 Auto merge of #94857 - petrochenkov:doclink2, r=oli-obk
Resolve documentation links in rustc and store the results in metadata

This PR implements MCP https://github.com/rust-lang/compiler-team/issues/584.

Doc links are now resolved in rustc and stored into metadata, so rustdoc simply retrieves them through a query (local or extern),

Code that is no longer used is removed, and some code that no longer needs to be public is privatized.
The removed code includes resolver cloning, so this PR fixes https://github.com/rust-lang/rust/issues/83761.
2023-02-11 12:10:16 +00:00
..
rustc Add a new rustc_driver dylib to rexport rustc_driver_impl 2023-02-02 07:34:41 +01:00
rustc_abi also do not add noalias on not-Unpin Box 2023-02-06 12:17:41 +01:00
rustc_apfloat compiler: remove unnecessary imports and qualified paths 2022-12-10 18:45:34 +01:00
rustc_arena compiler: remove unnecessary imports and qualified paths 2022-12-10 18:45:34 +01:00
rustc_ast Rollup merge of #107544 - nnethercote:improve-TokenCursor, r=petrochenkov 2023-02-03 23:04:51 +05:30
rustc_ast_lowering remove unused imports 2023-02-06 17:40:18 +03:00
rustc_ast_passes Autoderive ExternBlockSuggestion 2023-01-19 13:52:15 +01:00
rustc_ast_pretty Expand const-if-const trait bounds correctly 2023-02-07 21:00:12 +00:00
rustc_attr Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_baked_icu_data
rustc_borrowck Auto merge of #107507 - BoxyUwU:deferred_projection_equality, r=lcnr 2023-02-11 05:46:24 +00:00
rustc_builtin_macros Extend BYTE_SLICE_IN_PACKED_STRUCT_WITH_DERIVE. 2023-02-09 11:47:12 +11:00
rustc_codegen_cranelift Merge commit '7d53619064ab7045c383644cb445052d2a3d46db' into sync_cg_clif-2023-02-09 2023-02-09 12:38:16 +01:00
rustc_codegen_gcc session: diagnostic migration lint on more fns 2023-01-30 17:11:35 +00:00
rustc_codegen_llvm Auto merge of #102963 - ilammy:xray-basic, r=estebank 2023-02-10 00:02:43 +00:00
rustc_codegen_ssa remove unused imports 2023-02-06 17:40:18 +03:00
rustc_const_eval revert #107074 2023-02-10 15:24:39 +01:00
rustc_data_structures Resolve documentation links in rustc and store the results in metadata 2023-02-10 09:34:13 +04:00
rustc_driver Remove unneeded extern crate 2023-02-02 07:47:39 +01:00
rustc_driver_impl Rollup merge of #107836 - chenyukang:yukang/fix-107822, r=oli-obk 2023-02-10 15:28:47 +01:00
rustc_error_codes Add extended error message for E0523 2023-02-06 06:58:30 -05:00
rustc_error_messages Cleanup typos in en_US/borrowck.ftl 2023-02-10 02:22:08 -08:00
rustc_errors test: snapshot for derive suggestion in diff files 2023-02-09 22:28:53 +08:00
rustc_expand Add ~const bounds trait bounds when using derive_const 2023-02-07 21:00:12 +00:00
rustc_feature Auto merge of #107297 - Mark-Simulacrum:bump-bootstrap, r=pietroalbini 2023-01-31 19:24:29 +00:00
rustc_fs_util Remove useless borrows and derefs 2022-12-01 17:34:43 +00:00
rustc_graphviz Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_hir Resolve documentation links in rustc and store the results in metadata 2023-02-10 09:34:13 +04:00
rustc_hir_analysis Auto merge of #107507 - BoxyUwU:deferred_projection_equality, r=lcnr 2023-02-11 05:46:24 +00:00
rustc_hir_pretty Use Mutability::{is_mut, is_not} 2023-01-30 12:26:26 +00:00
rustc_hir_typeck Auto merge of #107919 - Dylan-DPC:rollup-fkl9swa, r=Dylan-DPC 2023-02-11 09:19:07 +00:00
rustc_incremental incremental: migrate diagnostics 2023-01-30 17:11:35 +00:00
rustc_index Fix IndexVec::drain_enumerated 2023-01-19 15:25:33 +00:00
rustc_infer Auto merge of #107507 - BoxyUwU:deferred_projection_equality, r=lcnr 2023-02-11 05:46:24 +00:00
rustc_interface Rollup merge of #107831 - nnethercote:query-refactoring, r=oli-obk 2023-02-10 06:09:57 +01:00
rustc_lexer Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00
rustc_lint add AliasEq to PredicateKind 2023-02-10 13:44:46 +00:00
rustc_lint_defs Extend BYTE_SLICE_IN_PACKED_STRUCT_WITH_DERIVE. 2023-02-09 11:47:12 +11:00
rustc_llvm llvm-16: Use Triple.h from new header location. 2023-02-07 06:51:58 -08:00
rustc_log fix rustc_log doctest 2023-02-10 15:07:55 +01:00
rustc_macros Forbid #[suggestion_*(...)] on Vecs 2023-02-01 21:49:45 +01:00
rustc_metadata Resolve documentation links in rustc and store the results in metadata 2023-02-10 09:34:13 +04:00
rustc_middle Auto merge of #94857 - petrochenkov:doclink2, r=oli-obk 2023-02-11 12:10:16 +00:00
rustc_mir_build remove unused imports 2023-02-06 17:40:18 +03:00
rustc_mir_dataflow Rollup merge of #107271 - Zeegomo:drop-rmw, r=oli-obk 2023-02-08 18:32:41 +01:00
rustc_mir_transform Auto merge of #85158 - JulianKnodt:array_const_val, r=cjgillot 2023-02-10 21:49:31 +00:00
rustc_monomorphize Auto merge of #100754 - davidtwco:translation-incremental, r=compiler-errors 2023-01-31 10:20:58 +00:00
rustc_parse Rollup merge of #107446 - clubby789:rustc-parse-diag-migrate, r=compiler-errors 2023-02-09 11:21:57 +01:00
rustc_parse_format Rollup merge of #106805 - madsravn:master, r=compiler-errors 2023-02-03 06:30:23 +01:00
rustc_passes rustc_passes: remove huge error imports 2023-02-05 03:47:58 +01:00
rustc_plugin_impl
rustc_privacy remove unused imports 2023-02-06 17:40:18 +03:00
rustc_query_impl Simplify tls::enter_context. 2023-02-09 15:25:45 +11:00
rustc_query_system Auto merge of #107644 - Zoxc:query-cache-tweak, r=cjgillot 2023-02-08 16:59:18 +00:00
rustc_resolve Auto merge of #94857 - petrochenkov:doclink2, r=oli-obk 2023-02-11 12:10:16 +00:00
rustc_save_analysis Review changes 2023-01-31 07:54:01 +00:00
rustc_serialize compiler: remove unnecessary imports and qualified paths 2022-12-10 18:45:34 +01:00
rustc_session Auto merge of #94857 - petrochenkov:doclink2, r=oli-obk 2023-02-11 12:10:16 +00:00
rustc_smir
rustc_span Rollup merge of #107769 - compiler-errors:pointer-like, r=eholk 2023-02-08 07:13:26 +01:00
rustc_symbol_mangling Change to ReError(ErrorGuaranteed) 2023-02-09 10:26:49 +00:00
rustc_target XRay support flag in TargetOptions 2023-02-09 12:28:01 +09:00
rustc_trait_selection Auto merge of #107919 - Dylan-DPC:rollup-fkl9swa, r=Dylan-DPC 2023-02-11 09:19:07 +00:00
rustc_traits Auto merge of #107507 - BoxyUwU:deferred_projection_equality, r=lcnr 2023-02-11 05:46:24 +00:00
rustc_transmute Also remove #![feature(control_flow_enum)] where possible 2023-01-18 10:22:21 -08:00
rustc_ty_utils Auto merge of #106180 - RalfJung:dereferenceable-generators, r=nbdd0121 2023-02-07 03:35:10 +00:00
rustc_type_ir Fix RegionKind: PartialEq to account for ReError 2023-02-09 10:26:50 +00:00