Files
rust/src
Tyler Mandry 1077adae12 Rollup merge of #68425 - phi-gamma:try-method, r=varkor
Fix try-op diagnostic in E0277 for methods

For methods the try-op diagnostic displays the empty string where
it has more descriptive strings like “a function” otherwise:

    error[E0277]: the `?` operator can only be used in  that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
                                                      ^^
       | |             ^^ cannot use the `?` operator in  that returns `()`
                                                        ^^

I’m seeing this on nightly (rustc 1.42.0-nightly (b5a3341f1
2020-01-20)) and [on the playpen](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=0e7ce7792c2aceb8056941710d539124).

The changeset add strings for impl methods and trait provided
methods and test cases for the option type.
2020-01-22 16:02:17 -08:00
..
2020-01-21 09:55:43 -08:00
2020-01-13 12:54:16 +00:00
2020-01-23 11:00:36 +11:00
2020-01-18 17:59:44 +01:00
2020-01-23 11:00:36 +11:00
2020-01-11 14:27:52 -05:00
2020-01-08 13:57:01 -08:00
2020-01-09 11:52:03 +09:00
2020-01-07 21:28:22 +01: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.