rust/src
Mara Bos b9045fabf8
Rollup merge of #81828 - davidhewitt:capture-raw-format-strings, r=estebank
parse_format: treat r" as a literal

This PR changes `format_args!` internal parsing machinery to treat raw strings starting `r"` as a literal.

Currently `"` and `r#` are recognised as valid starting combinations for string literals, but `r"` is not.

This was noticed when debugging https://github.com/rust-lang/rust/issues/67984#issuecomment-753413156

As well as fixing the behavior observed in that comment, this improves diagnostic spans for `r"` formatting strings.
2021-02-08 19:28:20 +01:00
..
bootstrap Rollup merge of #81456 - Amanieu:remote-test-server, r=Amanieu 2021-02-05 12:25:56 +01:00
build_helper Fix even more URLs 2020-11-05 20:11:29 +01:00
ci Auto merge of #81821 - nikic:update-wasm32, r=sanxiyn 2021-02-07 02:36:08 +00:00
doc Add --extern-loc to augment unused crate dependency diagnostics 2021-02-07 14:54:20 -08:00
etc src/etc/json-types -> src/rustdoc-json-types 2021-01-27 18:58:43 -05:00
librustdoc Auto merge of #81313 - LeSeulArtichaut:revert-32558, r=jyn514 2021-02-08 10:46:10 +00:00
llvm-project@70d09f218d Bump LLVM submodule 2021-01-27 23:08:54 +00:00
rustdoc-json-types expand/resolve: Turn #[derive] into a regular macro attribute 2021-02-07 20:08:45 +03:00
test Rollup merge of #81828 - davidhewitt:capture-raw-format-strings, r=estebank 2021-02-08 19:28:20 +01:00
tools Rollup merge of #81817 - hameerabbasi:mcp-635, r=oli-obk 2021-02-08 19:28:18 +01:00
README.md
stage0.txt Bump rustfmt version 2021-02-02 09:09:52 -05:00
version bump nightly version to 1.52.0 2021-02-05 16:25:08 +01:00

This directory contains the source code of the rust project, including:

  • The test suite
  • The bootstrapping build system
  • Various submodules for tools, like rustdoc, rls, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.