rust/src
Rich Kadel 41667e8534 Improve spans for chained function calls
Fixes: #84180

For chained function calls separated by the `?` try operator, the
function call following the try operator produced a MIR `Call` span that
matched the span of the first call. The `?` try operator started a new
span, so the second call got no span.

It turns out the MIR `Call` terminator has a `func` `Operand`
for the `Constant` representing the function name, and the function
name's Span can be used to reset the starting position of the span.
2021-04-24 17:27:24 -07:00
..
bootstrap Rollup merge of #84250 - jclulow:illumos-bash-bootstrap, r=Mark-Simulacrum 2021-04-24 12:17:02 +09:00
build_helper
ci Upgrade expat dependency in riscv64 to newer version. 2021-04-21 15:54:57 +02:00
doc doc/platform-support: clarify UEFI support 2021-04-22 12:09:30 +02:00
etc Fix HashMap/HashSet LLDB pretty-printer after hashbrown 0.11.0 2021-04-06 12:44:17 +03:00
librustdoc Rollup merge of #84492 - jyn514:span, r=camelid 2021-04-24 12:17:10 +09:00
llvm-project@0ed6038a31 Update LLVM submodule 2021-04-21 15:22:46 +01:00
rustdoc-json-types rustdoc-json: Rename Import.span to Import.source 2021-03-21 19:47:12 -07:00
test Improve spans for chained function calls 2021-04-24 17:27:24 -07:00
tools Auto merge of #84412 - ehuss:update-cargo, r=ehuss 2021-04-24 14:49:26 +00:00
README.md update message 2021-02-14 10:08:37 +05:30
stage0.txt Bump bootstrap compiler 2021-04-06 18:24:09 -07:00
version Bump to 1.53.0 2021-03-20 12:19:30 -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.