Files
rust/src
Mazdak Farrokhzad bd0d097a33 Rollup merge of #60045 - estebank:suggest-std, r=petrochenkov
Suggest appropriate path when calling associated item on bare types

When looking at the documentation for `std::f32` or `std::str`, for
example, it is easy to get confused and assume `std::f32` and `f32`
are the same thing. Because of this, it is not uncommon to attempt
writing `f32::consts::PI` instead of the correct
`std::f32::consts::PI`. When encountering the former, which results
in an access error due to it being an inexistent path, try to access
the same path under `std`. If this succeeds, this information is
stored for later tweaking of the final E0599 to provide an
appropriate suggestion.

Fix #26760, fix #46660.
2019-04-19 06:03:16 +02:00
..
2019-04-18 06:20:07 +09:00
2019-04-17 05:15:00 +02:00
2019-04-17 05:15:00 +02:00
2019-04-17 18:21:34 +09:00
2019-04-17 05:15:00 +02:00
2019-04-17 18:21:34 +09:00
2019-04-17 05:15:00 +02:00
2019-04-17 05:15:00 +02:00
2019-04-10 03:58:13 +02:00
2019-04-17 05:15:00 +02:00
2019-04-18 14:51:11 +09:00
2019-04-17 05:15:00 +02: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 the following READMEs, which are gradually being moved over to the guide: