rust/src
Mazdak Farrokhzad ec0da7222d
Rollup merge of #70681 - rcoh:russell/70677-raw-str-panic, r=petrochenkov
Handle unterminated raw strings with no #s properly

The modified code to handle parsing raw strings didn't properly account for the case where there was no "#" on either end and erroneously reported this strings as complete. This lead to a panic trying to read off the end of the file.

Fixes #70677

r? @petrochenkov

cc @Centril
2020-04-02 14:28:03 +02:00
..
bootstrap Ensure LLVM is in the link path for "fulldeps" tests 2020-03-30 15:40:56 -07:00
build_helper
ci Auto merge of #70628 - pietroalbini:gha-multiple-tries, r=Mark-Simulacrum 2020-04-02 09:10:06 +00:00
doc Add missing markdown rust annotation 2020-04-02 08:34:57 +07:00
etc Auto merge of #70282 - ssomers:btreemap_gdb_pretty_print, r=Mark-Simulacrum 2020-03-27 09:54:02 +00:00
liballoc Auto merge of #70362 - TimDiekmann:alloc-overhaul, r=Amanieu 2020-04-02 06:08:35 +00:00
libarena
libcore Rollup merge of #70281 - xfix:infallible-hash, r=dtolnay 2020-04-02 14:27:52 +02:00
libfmt_macros
libgraphviz
libpanic_abort
libpanic_unwind
libproc_macro
libprofiler_builtins
librustc_apfloat
librustc_ast rustc -> rustc_middle part 1 2020-03-30 07:02:56 +02:00
librustc_ast_lowering Use if let instead of match when only matching a single variant (clippy::single_match) 2020-03-30 10:52:29 +02:00
librustc_ast_passes Use if let instead of match when only matching a single variant (clippy::single_match) 2020-03-30 10:52:29 +02:00
librustc_ast_pretty Use if let instead of match when only matching a single variant (clippy::single_match) 2020-03-30 10:52:29 +02:00
librustc_attr rustc -> rustc_middle part 2 2020-03-30 07:16:56 +02:00
librustc_builtin_macros Use if let instead of match when only matching a single variant (clippy::single_match) 2020-03-30 10:52:29 +02:00
librustc_codegen_llvm use direct import for ErrorReported 2020-04-02 13:40:43 +02:00
librustc_codegen_ssa direct imports for langitem stuff 2020-04-02 13:40:43 +02:00
librustc_data_structures rustc -> rustc_middle part 1 2020-03-30 07:02:56 +02:00
librustc_driver use direct import for ErrorReported 2020-04-02 13:40:43 +02:00
librustc_error_codes Rollup merge of #70649 - GuillaumeGomez:cleanup-e0468, r=Dylan-DPC 2020-04-01 22:25:22 +02:00
librustc_errors Use if let instead of match when only matching a single variant (clippy::single_match) 2020-03-30 10:52:29 +02:00
librustc_expand Use if let instead of match when only matching a single variant (clippy::single_match) 2020-03-30 10:52:29 +02:00
librustc_feature #[link]: mention wasm_import_module instead of cfg 2020-03-29 17:40:04 +02:00
librustc_fs_util
librustc_hir rustc -> rustc_middle part 2 2020-03-30 07:16:56 +02:00
librustc_hir_pretty Use if let instead of match when only matching a single variant (clippy::single_match) 2020-03-30 10:52:29 +02:00
librustc_incremental rustc -> rustc_middle part 3 (rustfmt) 2020-03-30 07:19:55 +02:00
librustc_index
librustc_infer use direct import for ErrorReported 2020-04-02 13:40:43 +02:00
librustc_interface use direct import for ErrorReported 2020-04-02 13:40:43 +02:00
librustc_lexer Handle unterminated raw strings with no #s properly 2020-04-02 01:02:55 -04:00
librustc_lint nix rustc_target::abi::* reexport in ty::layout 2020-04-02 13:40:43 +02:00
librustc_llvm
librustc_macros Rollup merge of #70081 - lcnr:issue68387, r=varkor 2020-04-01 00:27:20 +02:00
librustc_metadata Rollup merge of #70634 - Centril:import-directly, r=Mark-Simulacrum 2020-04-02 14:27:58 +02:00
librustc_middle Rollup merge of #70658 - davidtwco:issue-70285-still-further-specializable, r=eddyb 2020-04-02 14:28:00 +02:00
librustc_mir direct imports for langitem stuff 2020-04-02 13:40:43 +02:00
librustc_mir_build direct imports for langitem stuff 2020-04-02 13:40:43 +02:00
librustc_parse Rollup merge of #70421 - Centril:recover-const-async-fn-ptr, r=estebank 2020-04-02 14:27:54 +02:00
librustc_passes direct imports for langitem stuff 2020-04-02 13:40:43 +02:00
librustc_plugin_impl rustc -> rustc_middle part 3 (rustfmt) 2020-03-30 07:19:55 +02:00
librustc_privacy Use if let instead of match when only matching a single variant (clippy::single_match) 2020-03-30 10:52:29 +02:00
librustc_query_system rustc -> rustc_middle part 1 2020-03-30 07:02:56 +02:00
librustc_resolve Rollup merge of #70081 - lcnr:issue68387, r=varkor 2020-04-01 00:27:20 +02:00
librustc_save_analysis more clippy fixes 2020-03-31 15:20:05 +02:00
librustc_session Rollup merge of #70511 - ecstatic-morse:mir-dataflow-graphviz, r=davidtwco 2020-04-01 14:32:12 +02:00
librustc_span rustc -> rustc_middle part 1 2020-03-30 07:02:56 +02:00
librustc_symbol_mangling Use if let instead of match when only matching a single variant (clippy::single_match) 2020-03-30 10:52:29 +02:00
librustc_target Rollup merge of #70616 - anyska:fieldplacement-rename, r=oli-obk 2020-04-01 22:25:18 +02:00
librustc_trait_selection Rollup merge of #70658 - davidtwco:issue-70285-still-further-specializable, r=eddyb 2020-04-02 14:28:00 +02:00
librustc_traits rustc -> rustc_middle part 3 (rustfmt) 2020-03-30 07:19:55 +02:00
librustc_ty Rollup merge of #70658 - davidtwco:issue-70285-still-further-specializable, r=eddyb 2020-04-02 14:28:00 +02:00
librustc_typeck direct imports for langitem stuff 2020-04-02 13:40:43 +02:00
librustdoc direct imports for langitem stuff 2020-04-02 13:40:43 +02:00
libserialize
libstd Auto merge of #70362 - TimDiekmann:alloc-overhaul, r=Amanieu 2020-04-02 06:08:35 +00:00
libterm
libtest Rename asm! to llvm_asm! 2020-03-26 15:49:22 +00:00
libunwind
llvm-project@992e608cfc Update LLVM submodule 2020-03-29 11:12:55 +01:00
rtstartup
rustc
rustllvm
stdarch@abe96ca3b8
test Rollup merge of #70681 - rcoh:russell/70677-raw-str-panic, r=petrochenkov 2020-04-02 14:28:03 +02:00
tools Rollup merge of #70631 - ehuss:update-cargo, r=ehuss 2020-04-02 14:27:57 +02:00
README.md
stage0.txt

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.