rust/src
bors e7575f9670 Auto merge of #95315 - compiler-errors:pointee-fix, r=pnkfelix
when checking pointee metadata, canonicalize the `Sized` check

Use `infcx.predicate_must_hold_modulo_regions` with a `Sized` obligation instead of just calling `ty.is_sized`, because the latter does not canonicalize region and type vars (and in the test case I added in this PR, there's a region var in the `ParamEnv`).

Fixes #95311
2022-04-14 14:37:34 +00:00
..
bootstrap Rollup merge of #95885 - gimbles:patch-1, r=Mark-Simulacrum 2022-04-13 17:35:32 +02:00
ci CI: do not compile libcore twice when performing LLVM PGO 2022-04-11 10:05:05 +02:00
doc Rollup merge of #93217 - willcrichton:example-analyzer, r=GuillaumeGomez 2022-04-13 17:35:32 +02:00
etc pre-push.sh: Use python3 if python is not found 2022-04-11 12:02:40 -07:00
librustdoc Auto merge of #95968 - davidtwco:translation-lazy-fallback, r=oli-obk 2022-04-13 21:04: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 Auto merge of #95315 - compiler-errors:pointee-fix, r=pnkfelix 2022-04-14 14:37:34 +00:00
tools Update cargo 2022-04-13 18:02:32 -07: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.