rust/src
bors 079aa837d2 Auto merge of #86574 - m-ou-se:or-pattern-lint-fix, r=petrochenkov
Don't lint :pat when re-parsing a macro from another crate.

`compile_macro` is used both when compiling the original definition in the crate that defines it, and to compile the macro when loading it when compiling a crate that uses it. We should only emit lints in the first case.

This adds a `is_definition: bool` to pass this information in, so we don't warn about things that only concern the definition site.

Fixes #86567
2021-06-25 01:23:16 +00:00
..
bootstrap Update cargo 2021-06-22 16:19:24 -07:00
build_helper Revert "Move llvm submodule updates to rustbuild" 2021-05-24 17:52:18 -04:00
ci Bump expat to 2.4.1 2021-06-23 10:38:18 -04:00
doc Update books 2021-06-22 14:50:15 -07:00
etc Hide Crate Version on narrow Screens 2021-06-24 16:46:15 +02:00
librustdoc Migrate from custom elements to divs with classes to be compatible with safari 2021-06-24 16:46:15 +02:00
llvm-project@39c5555872 Update LLVM submodule 2021-05-23 18:05:11 +10:00
rustdoc-json-types rustdoc- Show defaults on const generics 2021-06-03 09:01:25 +01:00
test Auto merge of #86574 - m-ou-se:or-pattern-lint-fix, r=petrochenkov 2021-06-25 01:23:16 +00:00
tools compiletest: ignore tests on a per-revision basis 2021-06-24 23:13:08 +03:00
README.md
stage0.txt remove cfg(bootstrap) 2021-05-24 11:07:48 -04:00
version Bump to 1.54 2021-06-11 19:19:55 -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.