rust/src
bors b15e2c129e Auto merge of #101832 - compiler-errors:dyn-star-plus, r=eholk
Make `dyn*` casts into a coercion, allow `dyn*` upcasting

I know that `dyn*` is likely not going to be a feature exposed to surface Rust, but this makes it slightly more ergonomic to write tests for these types anyways. ... and this was just fun to implement anyways.

1. Make `dyn*` into a coercion instead of a cast
2. Enable `dyn*` upcasting since we basically get it for free
3. Simplify some of the cast checking code since we're using the coercion path now

r? `@eholk` but feel free to reassign
cc `@nikomatsakis` and `@tmandry` who might care about making `dyn*` casts into a coercion
2022-10-15 07:36:38 +00:00
..
bootstrap more dupe word typos 2022-10-14 12:57:56 +08:00
ci Rollup merge of #103047 - GuillaumeGomez:update-browser-ui-test, r=notriddle 2022-10-14 23:43:45 +02:00
doc Rollup merge of #102940 - ehuss:update-books, r=ehuss 2022-10-12 22:13:26 +05:30
etc Rollup merge of #102092 - kxxt:patch-1, r=joshtriplett 2022-10-14 23:43:42 +02:00
librustdoc Add some tidy-alphabetical 2022-10-14 21:18:03 +02:00
llvm-project@9567f08afc Update LLVM submodule 2022-09-30 16:39:32 +02:00
rustdoc-json-types Rustdoc-Json: List impls for primitives 2022-09-26 18:06:48 +01:00
test Auto merge of #101832 - compiler-errors:dyn-star-plus, r=eholk 2022-10-15 07:36:38 +00:00
tools Auto merge of #101832 - compiler-errors:dyn-star-plus, r=eholk 2022-10-15 07:36:38 +00:00
README.md Remove miri from the submodule list and require it for CI to pass 2022-09-21 15:35:53 +00:00
stage0.json bump stage0 2022-09-26 10:13:46 +02:00
version bump version to 1.66.0 2022-09-16 10:51:09 +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 cargo, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.