rust/src
Yuki Okushi aa71be1b39
Rollup merge of #97508 - JohnTitor:more-strict-placeholder-dyn-obj, r=pnkfelix
Harden bad placeholder checks on statics/consts

Resubmission of #89161
Fixes https://github.com/rust-lang/rust/issues/88643

In #83739, I added a check for trait objects on statics/consts but it wasn't robust. `is_suggestable_infer_ty` fn does a more strict check and finds more bad placeholders. See https://github.com/rust-lang/rust/pull/89161#issuecomment-934690300 for the more detailed explanation.

r? `@pnkfelix` as you're the reviewer of the previous PR
2022-06-14 07:47:25 +09:00
..
bootstrap Rollup merge of #95243 - vladimir-ea:compiler_watch_os, r=nagisa 2022-06-14 07:47:23 +09:00
ci update comment 2022-06-05 12:32:46 +02:00
doc Rollup merge of #95243 - vladimir-ea:compiler_watch_os, r=nagisa 2022-06-14 07:47:23 +09:00
etc Rollup merge of #90905 - GuillaumeGomez:empty-impl-blocks, r=jsha 2022-06-06 08:36:59 +02:00
librustdoc remove unnecessary to_string and String::new 2022-06-13 15:48:40 +09:00
llvm-project@c9e2e89ed3 Update LLVM submodule 2022-06-03 15:57:32 +02:00
rustdoc-json-types
test Rollup merge of #97508 - JohnTitor:more-strict-placeholder-dyn-obj, r=pnkfelix 2022-06-14 07:47:25 +09:00
tools Rollup merge of #95243 - vladimir-ea:compiler_watch_os, r=nagisa 2022-06-14 07:47:23 +09:00
README.md
stage0.json Finish bumping stage0 2022-05-27 07:36:17 -04:00
version

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.