rust/src
Manish Goregaokar e4a9b36126
Rollup merge of #74147 - dennis-hamester:fix/issue-74134, r=jyn514
rustdoc: Allow linking from private items to private types

Fixes #74134

After PR #72771 this would trigger an intra_doc_link_resolution_failure warning
when rustdoc is invoked without --document-private-items. Links from private
items to private types are however never actually generated in that case and
thus shouldn't produce a warning. These links are in fact a very useful tool to
document crate internals.

Tests are added for all 4 combinations of public/private items and link
targets. Test 1 is the case mentioned above and fails without this commit. Tests
2 - 4 passed before already but are added nonetheless to prevent regressions.
2020-07-13 22:23:11 -07:00
..
bootstrap Rollup merge of #74046 - ehuss:deny-warnings-caching, r=Mark-Simulacrum 2020-07-13 22:23:08 -07:00
build_helper
ci Rollup merge of #74161 - tblah:riscv64gc-dockerfile-improvment, r=Mark-Simulacrum 2020-07-10 23:26:54 -07:00
doc Rollup merge of #74135 - ehuss:update-books, r=ehuss 2020-07-10 23:26:51 -07:00
etc Rollup merge of #73715 - MaulingMonkey:pr-natvis-tuples, r=Amanieu 2020-07-11 08:53:13 -07:00
liballoc Rollup merge of #74099 - jonhoo:deque-range, r=dtolnay 2020-07-10 23:26:36 -07:00
libcore Rollup merge of #74066 - thomcc:optimize-is-ascii, r=nagisa 2020-07-11 08:53:16 -07:00
libpanic_abort lints: add improper_ctypes_definitions 2020-06-24 12:09:35 +01:00
libpanic_unwind lints: add improper_ctypes_definitions 2020-06-24 12:09:35 +01:00
libproc_macro
libprofiler_builtins Prepare for LLVM 11 2020-06-25 18:52:41 -07:00
librustc_apfloat Migrate to numeric associated consts 2020-06-10 01:35:47 +00:00
librustc_arena Rollup merge of #73378 - matthewjasper:arena-not-special, r=oli-obk 2020-06-20 14:45:00 -07:00
librustc_ast Stabilize transmute in constants and statics but not const fn 2020-07-11 09:22:17 +02:00
librustc_ast_lowering Rollup merge of #73569 - Aaron1011:fix/macro-rules-group, r=petrochenkov 2020-07-01 20:35:48 -07:00
librustc_ast_passes Record span of const kw in GenericParamKind 2020-06-23 09:25:46 -07:00
librustc_ast_pretty Eliminate confusing "globals" terminology. 2020-07-09 14:11:44 +10:00
librustc_attr Make things build again 2020-06-02 20:38:24 +03:00
librustc_builtin_macros Rollup merge of #73953 - JohnTitor:audit-hidden-sugg, r=estebank 2020-07-06 17:45:22 -07:00
librustc_codegen_llvm Rollup merge of #73715 - MaulingMonkey:pr-natvis-tuples, r=Amanieu 2020-07-11 08:53:13 -07:00
librustc_codegen_ssa Rollup merge of #74167 - jclulow:illumos-linker-eh-frame-hdr-fix, r=petrochenkov 2020-07-11 08:53:19 -07:00
librustc_data_structures Rollup merge of #73984 - pierwill:pierwill-tarjan, r=jonas-schievink 2020-07-03 17:17:05 -07:00
librustc_driver rustc_driver/pretty: avoid using TypeckTables::empty for TypedAnnotation. 2020-07-02 16:48:35 +03:00
librustc_error_codes Rollup merge of #74123 - GuillaumeGomez:cleanup-e0718, r=pickfire 2020-07-13 22:23:10 -07:00
librustc_errors Rollup merge of #74079 - nnethercote:session-globals, r=nikomatsakis 2020-07-09 11:50:32 -07:00
librustc_expand Avoid "whitelist" 2020-07-10 07:39:28 -04:00
librustc_feature Rollup merge of #72920 - oli-obk:const_transmute, r=RalfJung 2020-07-11 08:53:06 -07:00
librustc_fs_util
librustc_graphviz Rename the crates in source code 2020-06-02 20:42:54 +03:00
librustc_hir Remove const_if_match feature gate from libraries 2020-06-28 10:08:09 -07:00
librustc_hir_pretty Auto merge of #72080 - matthewjasper:uniform-impl-trait, r=nikomatsakis 2020-06-15 04:10:24 +00:00
librustc_incremental Avoid "whitelist" 2020-07-10 07:39:28 -04:00
librustc_index add spans to injected coverage counters 2020-06-29 12:31:25 -07:00
librustc_infer Auto merge of #73978 - Mark-Simulacrum:shrink-paramenv, r=nnethercote 2020-07-06 20:44:16 +00:00
librustc_interface Rollup merge of #74127 - tamird:allowlist, r=oli-obk 2020-07-10 23:26:47 -07:00
librustc_lexer Rollup merge of #73856 - pierwill:pierwill-lexer-doc, r=jonas-schievink 2020-07-06 17:45:17 -07:00
librustc_lint Avoid "whitelist" 2020-07-10 07:39:28 -04:00
librustc_llvm Rollup merge of #73507 - mati865:cleanup-mingw-llvm-linkage, r=matthewjasper 2020-06-26 00:39:04 -07:00
librustc_macros Use min_specialization in the remaining rustc crates 2020-06-10 09:05:52 +01:00
librustc_metadata Avoid "whitelist" 2020-07-10 07:39:28 -04:00
librustc_middle Rollup merge of #74240 - da-x:fix-74081, r=Manishearth 2020-07-11 08:53:27 -07:00
librustc_mir Rollup merge of #72920 - oli-obk:const_transmute, r=RalfJung 2020-07-11 08:53:06 -07:00
librustc_mir_build Rollup merge of #74070 - eddyb:forall-tcx-providers, r=nikomatsakis 2020-07-09 11:50:28 -07:00
librustc_parse Rollup merge of #74125 - ayazhafiz:i/74050, r=matthewjasper 2020-07-10 23:26:45 -07:00
librustc_parse_format Eliminate confusing "globals" terminology. 2020-07-09 14:11:44 +10:00
librustc_passes Rollup merge of #74127 - tamird:allowlist, r=oli-obk 2020-07-10 23:26:47 -07:00
librustc_plugin_impl Use for<'tcx> fn pointers in Providers, instead of having Providers<'tcx>. 2020-07-05 23:00:14 +03:00
librustc_privacy Use for<'tcx> fn pointers in Providers, instead of having Providers<'tcx>. 2020-07-05 23:00:14 +03:00
librustc_query_system Remove const_if_match feature gate from libraries 2020-06-28 10:08:09 -07:00
librustc_resolve Rollup merge of #74213 - pickfire:patch-1, r=jonas-schievink 2020-07-11 08:53:25 -07:00
librustc_save_analysis Use 'tcx for references to AccessLevels wherever possible. 2020-07-03 00:04:48 +03:00
librustc_serialize Use min_specialization in the remaining rustc crates 2020-06-10 09:05:52 +01:00
librustc_session Auto merge of #74131 - ollie27:rustdoc_invalid_codeblock_attributes_name, r=GuillaumeGomez 2020-07-09 07:00:27 +00:00
librustc_span Correctly sort const_fn_transmute 2020-07-11 08:55:05 -07:00
librustc_symbol_mangling Use for<'tcx> fn pointers in Providers, instead of having Providers<'tcx>. 2020-07-05 23:00:14 +03:00
librustc_target Avoid "whitelist" 2020-07-10 07:39:28 -04:00
librustc_trait_selection Avoid "whitelist" 2020-07-10 07:39:28 -04:00
librustc_traits Use for<'tcx> fn pointers in Providers, instead of having Providers<'tcx>. 2020-07-05 23:00:14 +03:00
librustc_ty Rollup merge of #74070 - eddyb:forall-tcx-providers, r=nikomatsakis 2020-07-09 11:50:28 -07:00
librustc_typeck Avoid "whitelist" 2020-07-10 07:39:28 -04:00
librustdoc Rollup merge of #74147 - dennis-hamester:fix/issue-74134, r=jyn514 2020-07-13 22:23:11 -07:00
libstd Rollup merge of #73867 - poliorcetics:union-keyword, r=joshtriplett 2020-07-13 22:23:03 -07:00
libterm
libtest typo: awailable -> available 2020-06-08 13:37:58 -07:00
libunwind Update libunwind build process for x86_64-fortanix-unknown-sgx target 2020-06-24 11:28:41 +02:00
llvm-project@d134a53927 Fix cross-compilation of LLVM to aarch64 Windows targets 2020-07-08 08:19:50 -07:00
rtstartup
rustc
rustllvm Rollup merge of #73715 - MaulingMonkey:pr-natvis-tuples, r=Amanieu 2020-07-11 08:53:13 -07:00
stdarch@45340c0e2f
test Rollup merge of #74147 - dennis-hamester:fix/issue-74134, r=jyn514 2020-07-13 22:23:11 -07:00
tools Rollup merge of #74241 - RalfJung:miri, r=RalfJung 2020-07-11 08:53:29 -07:00
README.md
stage0.txt Update bootstrap to rustc 1.45.0-beta.2 (1dc0f6d8e 2020-06-15) 2020-06-20 11:13:47 -07:00

This directory contains the source code of the rust project, including:

  • rustc and its tests
  • libstd
  • Various submodules for tools, like rustdoc, rls, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.