rust/src
Dylan DPC c6bb219fc4
Rollup merge of #93469 - compiler-errors:issue-93450, r=estebank
Skip pointing out ambiguous impls in alloc/std crates too in inference errors

This generalizes the logic in `annotate_source_of_ambiguity` to skip printing ambiguity errors traits in `alloc` and `std` as well, not just `core`.

While this does spot-fix the issue mentioned below, it would be nicer to generalize this logic, for example to detect when the trait predicate's `self_ty` has any numerical inference variables. Is it worthwhile to scrap this solution for one like that?

Fixes #93450

r? `@estebank`
feel free to reassign
2022-03-27 05:36:08 +02:00
..
bootstrap resolve: Stop passing unused spans and node ids to path resolution functions 2022-03-25 02:03:54 +03:00
ci Update browser-ui-test version to 0.8.4 2022-03-25 21:12:31 +01:00
doc Remove hermitkernel targets 2022-03-25 11:52:11 +01:00
etc rustdoc-json-types: implementors -> implementations 2022-03-14 00:05:11 +00:00
librustdoc Auto merge of #95255 - petrochenkov:suggresolve, r=michaelwoerister 2022-03-25 11:35:19 +00:00
llvm-project@9168e236c5 Update to LLVM 14.0.0 final 2022-03-23 11:42:13 -07:00
rustdoc-json-types rustdoc-json-types: implementors -> implementations 2022-03-14 00:05:11 +00:00
test Rollup merge of #93469 - compiler-errors:issue-93450, r=estebank 2022-03-27 05:36:08 +02:00
tools Auto merge of #95274 - jendrikw:slice-must-use, r=Dylan-DPC 2022-03-26 20:17:04 +00:00
README.md
stage0.json Bump bootstrap to 1.60 2022-02-25 08:00:24 -05:00
version Bump version to 1.61 2022-02-19 13:40:33 -05: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.