rust/src
bors ed3164baf0 Auto merge of #96770 - flip1995:fix-trait-type-in-bounds, r=cjgillot
Track if a where bound comes from a impl Trait desugar

With https://github.com/rust-lang/rust/pull/93803 `impl Trait` function arguments get desugared to hidden where bounds. However, Clippy needs to know if a bound was originally a `impl Trait` or an actual bound. This adds a field to the `WhereBoundPredicate` struct to keep track of this information during AST->HIR lowering.

r? `@cjgillot`

cc `@estebank` (as the reviewer of #93803)
2022-05-08 14:10:12 +00:00
..
bootstrap Auto merge of #96689 - gimbles:campfire, r=Mark-Simulacrum 2022-05-08 11:14:47 +00:00
ci Auto merge of #96689 - gimbles:campfire, r=Mark-Simulacrum 2022-05-08 11:14:47 +00:00
doc Rollup merge of #96636 - GuillaumeGomez:fix-jump-to-def-regression, r=notriddle 2022-05-07 15:23:45 +02:00
etc Store all generic bounds as where predicates. 2022-04-30 13:55:13 +02:00
librustdoc Auto merge of #96770 - flip1995:fix-trait-type-in-bounds, r=cjgillot 2022-05-08 14:10:12 +00:00
llvm-project@fc10370ef7 Update LLVM submodule 2022-04-28 16:04:15 +02:00
rustdoc-json-types rustdoc-json-types: implementors -> implementations 2022-03-14 00:05:11 +00:00
test Auto merge of #96155 - jackh726:param-heuristics-followup, r=estebank 2022-05-08 04:05:36 +00:00
tools Auto merge of #96770 - flip1995:fix-trait-type-in-bounds, r=cjgillot 2022-05-08 14:10:12 +00:00
README.md
stage0.json bump stage0 to the latest beta 2022-04-05 22:24:32 +02:00
version bump version to 1.62.0 2022-04-04 09:21:03 +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.