Mazdak Farrokhzad 5b6a5801fb
Rollup merge of - estebank:walk-parents-iterator, r=matthewjasper
Account for tail expressions when pointing at return type

When there's a type mismatch we make an effort to check if it was
caused by a function's return type. This logic now makes sure to
only point at the return type if the error happens in a tail
expression.

Turn `walk_parent_nodes` method into an iterator.

CC , CC .
2019-09-28 05:37:46 +02:00
..
2019-09-25 08:20:32 -04:00
2019-09-25 08:42:46 -04:00
2019-09-25 08:42:46 -04:00
2019-09-27 13:33:50 -04:00
2019-09-25 08:20:32 -04:00

This directory contains the source code of the rust project, including:

  • rustc and its tests
  • libstd
  • Various submodules for tools, like rustdoc, rls, etc.

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

There is also useful content in this README: https://github.com/rust-lang/rust/tree/master/src/librustc/infer/lexical_region_resolve.