rust/src
Mazdak Farrokhzad 689e29f0f5
Rollup merge of #67835 - euclio:delimiter-wording, r=Centril
tweak wording of mismatched delimiter errors

This PR improves the wording of the "incorrect delimiter" error messages. Here's a quick rationale:

- *"un-closed" -> "unclosed"*: "unclosed" is valid English, so there's no need to hyphenate the prefix. This should be pretty uncontroversial, I think.
- *"close delimiter" -> "closing delimiter"*: In my anecdotal experience, I've always heard "closing delimiter" or "closing parenthesis". In addition, the codebase already uses this terminology in comments and function names more than "close delimiter", which could indicate that it's more intuitive.
- "incorrect delimiter" -> "mismatched delimiter": "Incorrect delimiter" is vague; why is it incorrect? "mismatched" clearly indicates why the delimiter is causing the error.

r? @estebank
2020-01-04 02:19:54 +01:00
..
bootstrap Rollup merge of #67636 - semarie:bootstrap-rustfmt, r=Mark-Simulacrum 2020-01-03 17:56:23 +09:00
build_helper Format the world 2019-12-22 17:42:47 -05:00
ci Set a lower ThinLTO import limit for PR CI image. 2020-01-02 14:06:45 +01:00
doc update rustc-guide 2020-01-01 11:05:59 -06:00
etc Auto merge of #67334 - estebank:ignore-triple, r=nikomatsakis 2019-12-28 23:02:09 +00:00
liballoc Use drop instead of the toilet closure |_| () 2020-01-02 08:56:12 +00:00
libarena Format the world 2019-12-22 17:42:47 -05:00
libcore Rollup merge of #67531 - RalfJung:tame-promotion, r=nikomatsakis 2020-01-04 02:19:46 +01:00
libfmt_macros Rename syntax_pos to rustc_span in source code 2020-01-01 09:15:18 +03:00
libgraphviz Format the world 2019-12-22 17:42:47 -05:00
libpanic_abort Format the world 2019-12-22 17:42:47 -05:00
libpanic_unwind Auto merge of #67779 - Amanieu:ehabi_fix, r=Mark-Simulacrum 2020-01-02 07:04:20 +00:00
libproc_macro Format the world 2019-12-22 17:42:47 -05:00
libprofiler_builtins Format the world 2019-12-22 17:42:47 -05:00
librustc Rollup merge of #67786 - Centril:canon-span, r=petrochenkov 2020-01-04 02:19:49 +01:00
librustc_apfloat Format the world 2019-12-22 17:42:47 -05:00
librustc_asan Format the world 2019-12-22 17:42:47 -05:00
librustc_ast_lowering Revert "core: add IntoFuture trait and support for await" 2019-12-31 19:18:08 -05:00
librustc_builtin_macros Normalize syntax::edition imports. 2020-01-02 19:31:38 +01:00
librustc_codegen_llvm Normalize syntax::symbol imports. 2020-01-02 13:57:04 +01:00
librustc_codegen_ssa Normalize syntax::symbol imports. 2020-01-02 13:57:04 +01:00
librustc_codegen_utils Normalize syntax::symbol imports. 2020-01-02 13:57:04 +01:00
librustc_data_structures Revert parts of #66405. 2019-12-31 17:58:29 -05:00
librustc_driver Rename syntax_pos to rustc_span in source code 2020-01-01 09:15:18 +03:00
librustc_error_codes Clean up E0131 error explanation 2020-01-03 00:07:09 +01:00
librustc_errors Rename syntax_pos to rustc_span in source code 2020-01-01 09:15:18 +03:00
librustc_expand Normalize syntax::edition imports. 2020-01-02 19:31:38 +01:00
librustc_feature Rename syntax_pos to rustc_span in source code 2020-01-01 09:15:18 +03:00
librustc_fs_util Format src/librustc_fs_util. 2019-12-21 20:23:39 -05:00
librustc_incremental Normalize syntax::symbol imports. 2020-01-02 13:57:04 +01:00
librustc_index Format the world 2019-12-22 17:42:47 -05:00
librustc_interface Normalize syntax::edition imports. 2020-01-02 19:31:38 +01:00
librustc_lexer Format the world 2019-12-22 17:42:47 -05:00
librustc_lint Rollup merge of #67810 - crlf0710:uncommon_codepoints_lint, r=Manishearth 2020-01-04 02:19:52 +01:00
librustc_llvm Format the world 2019-12-22 17:42:47 -05:00
librustc_lsan Format the world 2019-12-22 17:42:47 -05:00
librustc_macros Format the world 2019-12-22 17:42:47 -05:00
librustc_metadata Normalize syntax::edition imports. 2020-01-02 19:31:38 +01:00
librustc_mir Rollup merge of #67786 - Centril:canon-span, r=petrochenkov 2020-01-04 02:19:49 +01:00
librustc_msan Format the world 2019-12-22 17:42:47 -05:00
librustc_parse Rollup merge of #67835 - euclio:delimiter-wording, r=Centril 2020-01-04 02:19:54 +01:00
librustc_passes Normalize syntax::symbol imports. 2020-01-02 13:57:04 +01:00
librustc_plugin_impl Normalize syntax::symbol imports. 2020-01-02 13:57:04 +01:00
librustc_privacy Normalize syntax::symbol imports. 2020-01-02 13:57:04 +01:00
librustc_resolve Rollup merge of #67786 - Centril:canon-span, r=petrochenkov 2020-01-04 02:19:49 +01:00
librustc_save_analysis Normalize syntax::source_map imports. 2020-01-02 13:57:04 +01:00
librustc_session Rename syntax_pos to rustc_span in source code 2020-01-01 09:15:18 +03:00
librustc_span Auto merge of #67768 - wesleywiser:dnm_test_perf_65244, r=Mark-Simulacrum 2020-01-03 05:51:04 +00:00
librustc_target Rename syntax_pos to rustc_span in source code 2020-01-01 09:15:18 +03:00
librustc_traits Normalize syntax::symbol imports. 2020-01-02 13:57:04 +01:00
librustc_tsan Format the world 2019-12-22 17:42:47 -05:00
librustc_typeck Normalize syntax::symbol imports. 2020-01-02 13:57:04 +01:00
librustdoc Normalize syntax::edition imports. 2020-01-02 19:31:38 +01:00
libserialize Deprecate Error::description for real 2019-12-24 22:39:49 -08:00
libstd Auto merge of #67828 - JohnTitor:rollup-qmswkkl, r=JohnTitor 2020-01-03 09:07:05 +00:00
libsyntax syntax::map_in_place: leave fixme 2020-01-02 19:31:38 +01:00
libterm Auto merge of #67605 - lzutao:msdn-links, r=Mark-Simulacrum 2019-12-28 09:19:26 +00:00
libtest Format the world 2019-12-22 17:42:47 -05:00
libunwind Update the barrier cache during ARM EHABI unwinding 2020-01-01 17:20:16 +01:00
llvm-project@2cb41005ed Update LLVM submodule 2019-11-30 01:34:31 +01:00
rtstartup Format the world 2019-12-22 17:42:47 -05:00
rustc Format the world 2019-12-22 17:42:47 -05:00
rustllvm Rollup merge of #67033 - cuviper:ValueName2, r=rkruppe 2019-12-07 00:10:02 +09:00
stdarch@e0ab2c165a
test Rollup merge of #67835 - euclio:delimiter-wording, r=Centril 2020-01-04 02:19:54 +01:00
tools Rollup merge of #67810 - crlf0710:uncommon_codepoints_lint, r=Manishearth 2020-01-04 02:19:52 +01:00
README.md
stage0.txt Implement rustfmt running manually using ignore crate 2019-12-21 20:23:55 -05: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.