rust/src
Yuki Okushi 5fcefb1d61
Rollup merge of #87061 - FabianWolff:issue-87051, r=oli-obk
Do not suggest adding a semicolon after `?`

Fixes #87051. I have only modified `report_return_mismatched_types()`, i.e. my changes only affect suggestions to add `;` for return type mismatches, but this never makes sense after `?`, because the function cannot return `()` if `?` is used (it has to return a `Result` or an `Option`), and a semicolon won't help if the expected and actual `Err` types differ, even if the expected one is `()`.
2021-07-12 04:32:05 +09:00
..
bootstrap Account for submodules = false in config.toml when updating LLVM submodule 2021-07-10 21:33:16 -04:00
build_helper Revert "Revert "Move llvm submodule updates to rustbuild"" 2021-06-04 22:17:01 -04:00
ci Clean up rustdoc static files 2021-07-07 17:52:18 +02:00
doc Rollup merge of #87031 - ZuseZ4:patch-1, r=GuillaumeGomez 2021-07-12 04:32:01 +09:00
etc Auto merge of #85363 - EFanZh:gdb-pretty-print-slices, r=michaelwoerister 2021-07-08 12:25:47 +00:00
librustdoc Rollup merge of #87037 - notriddle:notriddle/search-cleanup-getobjectnamefromid, r=GuillaumeGomez 2021-07-12 04:32:02 +09:00
llvm-project@39c5555872 Update LLVM submodule 2021-05-23 18:05:11 +10:00
rustdoc-json-types rustdoc- Show defaults on const generics 2021-06-03 09:01:25 +01:00
test Rollup merge of #87061 - FabianWolff:issue-87051, r=oli-obk 2021-07-12 04:32:05 +09:00
tools update Miri 2021-07-11 14:04:58 +02:00
README.md
stage0.txt Update to new bootstrap compiler 2021-06-28 11:30:49 -04:00
version Bump to 1.54 2021-06-11 19:19:55 -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.