rust/src
Chris Simpkins 593d1eed82
improve diagnostics suggestion for missing @ in slice id binding to rest pattern
add issue 72373 tests


fmt test


fix suggestion format

Replacement, not insertion of suggested string

implement review changes

refactor to span_suggestion_verbose, improve suggestion message,  change id @ pattern space formatting

fmt


fix diagnostics spacing between ident and @


refactor reference
2020-05-27 14:10:41 -04:00
..
bootstrap bootstrap: propagate test-args to miri and clippy test suites 2020-05-24 09:45:14 +02:00
build_helper
ci Revert MSYS2 CI workaround 2020-05-22 19:08:39 +02:00
doc Update books 2020-05-25 17:17:27 -07:00
etc
liballoc Rollup merge of #72533 - Diggsey:db-fix-arc-ub2, r=dtolnay 2020-05-27 03:09:12 +02:00
libarena Be less aggressive with DroplessArena/TypedArena growth. 2020-05-13 11:35:32 +10:00
libcore Rollup merge of #72626 - phimuemue:doubleendediter_doc, r=dtolnay 2020-05-27 03:09:23 +02:00
libfmt_macros Fix tests 2020-05-18 14:41:34 +01:00
libgraphviz
libpanic_abort Bump bootstrap compiler 2020-04-25 09:25:33 -04:00
libpanic_unwind make abort intrinsic safe, and correct its documentation 2020-05-17 11:23:42 +02:00
libproc_macro Add test for proc_macro::LineColumn 2020-05-21 17:15:13 -07:00
libprofiler_builtins
librustc_apfloat Dogfood more or_patterns in the compiler 2020-04-19 07:33:58 -07:00
librustc_ast Collect tokens for ast::Expr 2020-05-24 15:54:48 -04:00
librustc_ast_lowering Collect tokens for ast::Expr 2020-05-24 15:54:48 -04:00
librustc_ast_passes Disallow forbidden usage of non-ascii identifiers. 2020-05-17 01:31:18 +08:00
librustc_ast_pretty Move InlineAsmTemplatePiece and InlineAsmOptions to librustc_ast 2020-05-18 14:41:33 +01:00
librustc_attr Fix clippy warnings 2020-05-11 17:13:32 +02:00
librustc_builtin_macros Collect tokens for ast::Expr 2020-05-24 15:54:48 -04:00
librustc_codegen_llvm Use OnceCell instead of Once 2020-05-22 13:31:02 -07:00
librustc_codegen_ssa Removed all instances of const_field. 2020-05-24 19:38:54 +05:30
librustc_data_structures Replace rustc_data_structures::sync::Once with OnceCell 2020-05-22 13:26:39 -07:00
librustc_driver Use OnceCell instead of Once 2020-05-22 13:31:02 -07:00
librustc_error_codes Rollup merge of #72567 - GuillaumeGomez:cleanup-e0608, r=Dylan-DPC 2020-05-25 18:07:48 +02:00
librustc_errors Simplify the error Registry methods a little 2020-05-04 11:52:15 -07:00
librustc_expand Collect tokens for ast::Expr 2020-05-24 15:54:48 -04:00
librustc_feature Implement #[ffi_const] and #[ffi_pure] function attributes 2020-05-20 01:16:11 +02:00
librustc_fs_util
librustc_hir Rollup merge of #72450 - csmoe:issue-72442, r=oli-obk 2020-05-25 23:58:56 +02:00
librustc_hir_pretty Move InlineAsmTemplatePiece and InlineAsmOptions to librustc_ast 2020-05-18 14:41:33 +01:00
librustc_incremental Change WorkProduct::saved_files to an Option. 2020-05-12 17:55:07 +10:00
librustc_index
librustc_infer Document collect_bounding_regions 2020-05-22 18:03:08 +01:00
librustc_interface Add a small MIR validation pass 2020-05-25 21:44:36 +02:00
librustc_lexer Fix bug in shebang handling 2020-05-25 10:11:08 -04:00
librustc_lint Implement warning for unused dependencies. 2020-05-25 22:47:55 -07:00
librustc_llvm Don't skip building LLVM if already built 2020-05-02 18:43:55 -04:00
librustc_macros Monomorphise load_from_disk_and_cache_in_memory. 2020-05-01 14:29:35 +02:00
librustc_metadata Implement warning for unused dependencies. 2020-05-25 22:47:55 -07:00
librustc_middle Rollup merge of #72538 - rakshith-ravi:refactor/remove-const-query, r=oli-obk 2020-05-25 23:58:59 +02:00
librustc_mir Rollup merge of #72401 - ecstatic-morse:issue-72394, r=eddyb 2020-05-26 22:11:31 +02:00
librustc_mir_build Rollup merge of #72153 - lcnr:exhaustively-match, r=pnkfelix 2020-05-25 18:07:42 +02:00
librustc_parse improve diagnostics suggestion for missing @ in slice id binding to rest pattern 2020-05-27 14:10:41 -04:00
librustc_passes Rollup merge of #72581 - samrat:allow-desugared-break-in-labeled-block, r=davidtwco 2020-05-26 22:11:33 +02:00
librustc_plugin_impl Remove ast::{Ident, Name} reexports. 2020-05-08 13:13:15 +02:00
librustc_privacy introduce newtype'd Predicate<'tcx> 2020-05-20 15:44:34 +02:00
librustc_query_system Rollup merge of #72126 - nnethercote:change-WorkProduct-saved_files, r=alexcrichton 2020-05-14 18:21:50 +02:00
librustc_resolve Rollup merge of #72308 - Aaron1011:fix/hygiene-error-message, r=matthewjasper 2020-05-25 18:07:44 +02:00
librustc_save_analysis Use OnceCell instead of Once 2020-05-22 13:31:02 -07:00
librustc_session Rollup merge of #72342 - jsgf:warn-unused-deps, r=petrochenkov 2020-05-26 22:11:29 +02:00
librustc_span Remove macro_defs map 2020-05-22 16:57:25 -04:00
librustc_symbol_mangling Remove unused dependencies 2020-05-19 14:34:23 -07:00
librustc_target Export ZERO_AR_DATE for macos linker invocations 2020-05-26 07:38:43 -07:00
librustc_trait_selection Rollup merge of #72450 - csmoe:issue-72442, r=oli-obk 2020-05-25 23:58:56 +02:00
librustc_traits Auto merge of #72362 - matthewjasper:remove-rescope, r=nikomatsakis 2020-05-24 04:15:08 +00:00
librustc_ty Use OnceCell instead of Once 2020-05-22 13:31:02 -07:00
librustc_typeck Rollup merge of #72544 - sexxi-goose:upvars_mentioned, r=matthewjasper 2020-05-25 11:01:08 +02:00
librustdoc Rollup merge of #72610 - GuillaumeGomez:revert-unwanted-css-changes, r=Dylan-DPC 2020-05-27 03:09:21 +02:00
libserialize linker: More systematic handling of CRT objects 2020-05-14 10:45:11 +03:00
libstd Auto merge of #72472 - LeSeulArtichaut:sync-command, r=dtolnay 2020-05-25 02:48:55 +00:00
libterm Replace filter_map().next() calls with find_map() 2020-04-24 20:03:45 -07:00
libtest Fix clippy warnings 2020-05-11 17:13:32 +02:00
libunwind rustc_target: Avoid an inappropriate use of post_link_objects 2020-05-20 21:33:37 +03:00
llvm-project@943dbddc8e Update LLVM submodule 2020-05-20 20:14:16 +02:00
rtstartup
rustc
rustllvm rustllvm: Fix warnings about unused function parameters 2020-05-21 22:05:19 +03:00
stdarch@ec6fccd34c Update stdarch 2020-05-09 16:03:40 -04:00
test improve diagnostics suggestion for missing @ in slice id binding to rest pattern 2020-05-27 14:10:41 -04:00
tools Auto merge of #72596 - ehuss:update-cargo, r=ehuss 2020-05-27 01:08:36 +00:00
README.md
stage0.txt Bump rustfmt to most recently shipped 2020-04-25 09:25:33 -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 dev guide.