rust/src
bors 1899c489d4 Auto merge of #78553 - Nadrieril:fix-78549, r=varkor
Fix #78549

Before #78430, this worked because `specialize_constructor` didn't actually care too much which constructor was passed to it unless needed. That PR however handles `&str` as a special case, and I did not anticipate patterns for the `&str` type other than string literals.
I am not very confident there are not other similar oversights left, but hopefully only `&str` was different enough to break my assumptions.

Fixes https://github.com/rust-lang/rust/issues/78549
2020-11-01 14:37:50 +00:00
..
bootstrap Create config.toml in the current directory, not the top-level directory 2020-10-29 21:23:55 -04:00
build_helper cleanup: Remove duplicate library names from Cargo.tomls 2020-08-30 22:57:54 +03:00
ci ci: update x86_64-gnu and x86_64-gnu-debug to ubuntu:20.04 2020-10-28 17:26:03 -07:00
doc Rollup merge of #78492 - ehuss:update-books, r=ehuss 2020-10-29 12:09:01 +09:00
etc BTreeMap: improve gdb introspection of BTreeMap with ZST keys or values 2020-10-14 13:03:23 +02:00
librustdoc rustdoc: Use Vec::into_iter() rather than drain() 2020-10-28 21:29:21 +00:00
llvm-project@ee16174578 Bump LLVM for DeadArgElim fix 2020-10-22 18:37:03 -04:00
test Auto merge of #78553 - Nadrieril:fix-78549, r=varkor 2020-11-01 14:37:50 +00:00
tools Auto merge of #78182 - LeSeulArtichaut:ty-visitor-contolflow, r=lcnr,oli-obk 2020-10-30 22:53:55 +00:00
README.md Update README.md 2020-08-30 13:40:11 -05:00
stage0.txt Rollup merge of #77877 - scottmcm:fewer-try-trait-method-references, r=shepmaster 2020-10-19 18:20:20 +02:00
version Bump version to 1.49.0 2020-10-02 08:39:40 -04: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.