rust/src
Matthias Krüger b31f0198b1
Rollup merge of #90727 - GuillaumeGomez:remove-potential-useless-search-index-data, r=notriddle,camelid
Remove potential useless data for search index

I uncovered this case when working on https://github.com/rust-lang/rust/pull/90726 to debug https://github.com/rust-lang/rust/pull/90385.

Explanations: if we have a full generic, we check if it has generics then we do the following:
 * If it has only one generic, we remove one nested level in order to not keep the "parent" generic (since it has empty name, it's useless after all).
 * Otherwise we add it alongside its generics.

However, I didn't handle the case where a generic had no generics. Meaning that we were adding items with empty names in the search index. So basically useless data in the search index.

r? `@camelid`
2021-11-10 18:52:28 +01:00
..
bootstrap Rollup merge of #90685 - jyn514:remove-dead-code, r=Mark-Simulacrum 2021-11-09 19:00:44 +01:00
build_helper Migrate to 2021 2021-09-20 22:21:42 -04:00
ci Pull in libkvm on FreeBSD 2021-11-02 10:44:14 +02:00
doc Update books 2021-11-09 19:11:01 -08:00
etc Encode json files with UTF-8 2021-09-30 00:11:14 +09:00
librustdoc Rollup merge of #90727 - GuillaumeGomez:remove-potential-useless-search-index-data, r=notriddle,camelid 2021-11-10 18:52:28 +01:00
llvm-project@e048e97f52 Update llvm submodule 2021-11-10 10:58:59 +00:00
rustdoc-json-types Moved format-version constant to rustdoc-json-types 2021-10-15 12:27:42 +03:00
test Rollup merge of #88868 - calebzulawski:feature/simd_bitmask, r=workingjubilee 2021-11-10 18:52:27 +01:00
tools Auto merge of #90663 - ken-matsui:support-early-stopping-too-old-tidy-for-macos, r=Mark-Simulacrum 2021-11-10 03:11:44 +00:00
README.md
stage0.json bump boostrap compiler 2021-10-23 21:55:57 -04:00
version bump version to rust 1.58.0 2021-10-17 16:04:44 +02:00

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

  • The test suite
  • The bootstrapping build system
  • Various submodules for tools, like rustdoc, rls, etc.

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