rust/src
Matthias Krüger 5dec8dff7b
Rollup merge of #110631 - notriddle:notriddle/impl-trait-cycle, r=GuillaumeGomez
rustdoc: catch and don't blow up on impl Trait cycles

Fixes #110629

An odd feature of Rust is that `Foo` is invalid, but `Bar` is okay:

    type Foo<'a, 'b> = Box<dyn PartialEq<Foo<'a, 'b>>>;
    type Bar<'a, 'b> = impl PartialEq<Bar<'a, 'b>>;

To get it right, track every time rustdoc descends into a type alias, so if it shows up twice, it can be write the path instead of infinitely expanding it.
2023-04-30 16:25:46 +02:00
..
bootstrap Rollup merge of #110118 - jyn514:download-error, r=Mark-Simulacrum 2023-04-30 16:25:46 +02:00
ci Update awscli 2023-04-28 08:30:34 -07:00
doc Add rustdoc::unescaped_backtick lint 2023-04-29 13:13:25 +02:00
etc Fix unavailable url 2023-04-28 09:54:35 +08:00
librustdoc Rollup merge of #110631 - notriddle:notriddle/impl-trait-cycle, r=GuillaumeGomez 2023-04-30 16:25:46 +02:00
llvm-project@ea6fa9c2d4 Update to LLVM 16.0.2 2023-04-19 12:33:37 +02:00
rustdoc-json-types Fix remaining typos 2023-04-10 21:02:49 +02:00
tools Auto merge of #110994 - matthiaskrgr:rollup-wv4u5yi, r=matthiaskrgr 2023-04-29 16:17:35 +00:00
README.md Remove stale reference to the test suite location 2023-01-13 11:49:06 +00:00
stage0.json bump stage0 2023-04-28 08:47:55 -07:00
version bump to rust 1.71.0 2023-04-15 12:29:51 +02:00

This directory contains some source code for the Rust project, including:

  • The bootstrapping build system
  • Various submodules for tools, like cargo, tidy, etc.

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