rust/compiler/rustc_middle/src/ty
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
..
consts rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
context Simplify with_tlv. 2023-02-09 15:26:37 +11:00
inhabitedness Combine projection and opaque into alias 2022-12-13 17:48:55 +00:00
print Auto merge of #107507 - BoxyUwU:deferred_projection_equality, r=lcnr 2023-02-11 05:46:24 +00:00
_match.rs Reuse ErrorGuaranteed during relation 2023-01-11 20:02:43 +00:00
abstract_const.rs Make expand_abstract_consts infallible 2022-11-25 09:28:44 +00:00
adjustment.rs Let mk_fn_def take an iterator instead to simplify some call sites 2022-12-14 15:36:39 +00:00
adt.rs Impl HashStable/Encodable/Decodable for ObligationCause. 2023-01-27 18:56:32 +00:00
assoc.rs change fn_sig query to use EarlyBinder; remove bound_fn_sig query; add EarlyBinder to fn_sig in metadata 2023-01-26 20:28:25 -07:00
binding.rs Refactor and re-use BindingAnnotation 2022-09-02 12:55:05 -05:00
cast.rs Remove mir::CastKind::Misc 2022-10-06 15:32:41 +03:00
closure.rs rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
codec.rs Impl HashStable/Encodable/Decodable for ObligationCause. 2023-01-27 18:56:32 +00:00
consts.rs change const_param_default query to return EarlyBinder; remove bound_const_param_default query; add EarlyBinder to const_param_default in metadata 2023-01-14 00:13:07 -07:00
context.rs Auto merge of #107507 - BoxyUwU:deferred_projection_equality, r=lcnr 2023-02-11 05:46:24 +00:00
diagnostics.rs Modify existing bounds if they exist 2023-02-06 11:26:36 -08:00
erase_regions.rs Add type flags support for Ty and Const late-bound regions 2023-01-08 03:37:20 +00:00
error.rs Fix unquoted projection types in label 2023-01-30 22:02:30 +00:00
fast_reject.rs Introduce GeneratorWitnessMIR. 2023-01-27 18:58:44 +00:00
flags.rs add AliasEq to PredicateKind 2023-02-10 13:44:46 +00:00
fold.rs Make const/fn return params more suggestable 2023-02-03 21:37:41 +00:00
generics.rs Use ErrorGuaranteed more in ReError 2023-02-09 10:38:45 +00:00
impls_ty.rs interpret: support for per-byte provenance 2022-11-06 14:17:10 +01:00
instance.rs change fn_sig query to use EarlyBinder; remove bound_fn_sig query; add EarlyBinder to fn_sig in metadata 2023-01-26 20:28:25 -07:00
layout.rs also do not add noalias on not-Unpin Box 2023-02-06 12:17:41 +01:00
list.rs add List::as_slice 2022-08-17 11:22:47 +02:00
mod.rs Auto merge of #94857 - petrochenkov:doclink2, r=oli-obk 2023-02-11 12:10:16 +00:00
normalize_erasing_regions.rs mir constants: type traversing bye bye 2022-10-17 10:54:01 +02:00
opaque_types.rs Use ErrorGuaranteed more in ReError 2023-02-09 10:38:45 +00:00
parameterized.rs Resolve documentation links in rustc and store the results in metadata 2023-02-10 09:34:13 +04:00
query.rs Resolve documentation links in rustc and store the results in metadata 2023-02-10 09:34:13 +04:00
relate.rs emit ConstEquate in TypeRelating<D> 2023-02-05 07:24:54 +00:00
rvalue_scopes.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
structural_impls.rs add AliasEq to PredicateKind 2023-02-10 13:44:46 +00:00
sty.rs Change to ReError(ErrorGuaranteed) 2023-02-09 10:26:49 +00:00
subst.rs add EarlyBinder::no_bound_vars 2023-01-26 20:28:31 -07:00
trait_def.rs Prefer doc comments over //-comments in compiler 2022-11-27 11:19:04 +00:00
typeck_results.rs Improve pretty-printing of HirIdValidator errors 2023-02-01 20:09:22 +01:00
util.rs Restrict amount of ignored locals. 2023-01-27 22:01:12 +00:00
visit.rs Introduce GeneratorWitnessMIR. 2023-01-27 18:58:44 +00:00
vtable.rs avoid .into() conversion to identical types 2022-12-18 16:20:32 +01:00
walk.rs Introduce GeneratorWitnessMIR. 2023-01-27 18:58:44 +00:00