rust/src
bors 37a42258ff Auto merge of #97778 - compiler-errors:misc-diagnostics-tidy, r=cjgillot
Tidy up miscellaneous bounds suggestions

Just some small fixes to suggestions

- Generalizes `Ty::is_suggestable` into a `TypeVisitor`, so that it can be called on things other than `Ty`
- Makes `impl Trait` in arg position no longer suggestible (generalizing the fix in #97640)
- Fixes `impl Trait` not being replaced with fresh type param when it's deeply nested in function signature (fixes #97760)
- Fixes some poor handling of `where` clauses with no predicates (also #97760)
- Uses `InferCtxt::resolve_numeric_literals_with_default` so we suggest `i32` instead of `{integer}` (fixes #97677)

Sorry there aren't many tests the fixes. Most of them would just be duplicates of other tests with empty `where` clauses or `impl Trait` in arg position instead of generic params. Let me know if you'd want more test coverage.
2022-06-12 00:47:54 +00:00
..
bootstrap Revert "Remove num_cpus dependency from bootstrap, build-manifest and rustc_session" 2022-06-09 03:10:15 -07:00
ci update comment 2022-06-05 12:32:46 +02:00
doc Rollup merge of #97972 - hamza1311:patch-1, r=Dylan-DPC 2022-06-11 07:42:17 +02:00
etc Rollup merge of #90905 - GuillaumeGomez:empty-impl-blocks, r=jsha 2022-06-06 08:36:59 +02:00
librustdoc Add eslint rule "no-script-url" 2022-06-11 13:23:08 +02:00
llvm-project@c9e2e89ed3 Update LLVM submodule 2022-06-03 15:57:32 +02:00
rustdoc-json-types rustdoc-json: Fix HRTBs for WherePredicate::BoundPredicate 2022-05-04 21:03:01 +02:00
test Auto merge of #97778 - compiler-errors:misc-diagnostics-tidy, r=cjgillot 2022-06-12 00:47:54 +00:00
tools Auto merge of #97911 - dtolnay:numcpu, r=Mark-Simulacrum 2022-06-09 18:20:08 +00:00
README.md
stage0.json Finish bumping stage0 2022-05-27 07:36:17 -04:00
version Bump to 1.63 2022-05-13 10:08:03 -04: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.