rust/src
bors 67626b8e89 Auto merge of #113734 - cjgillot:no-crate-lint, r=petrochenkov
Convert builtin "global" late lints to run per module

The compiler currently has 4 non-incremental lints:
1. `clashing_extern_declarations`;
2. `missing_debug_implementations`;
3. ~`unnameable_test_items`;~ changed by https://github.com/rust-lang/rust/pull/114414
4. `missing_docs`.

Non-incremental lints get reexecuted for each compilation, which is slow. Moreover, those lints are allow-by-default, so run for nothing most of the time. This PR attempts to make them more incremental-friendly.

`clashing_extern_declarations` is moved to a standalone query.

`missing_debug_implementation` can use `non_blanket_impls_for_ty` instead of recomputing it.

`missing_docs` is harder as it needs to track if there is a `doc(hidden)` module surrounding. I hack around this using the lint level engine. That's easy to implement and allows to re-enable the lint for a re-exported module, while a more proper solution would reuse the same device as `unnameable_test_items`.
2023-08-05 07:20:16 +00:00
..
bootstrap Rollup merge of #114440 - kaniini:fix/bootstrap-version-compare, r=ozkanonur 2023-08-04 09:19:00 +02:00
ci Auto merge of #112922 - g0djan:godjan/wasi-threads, r=wesleywiser 2023-08-02 01:01:48 +00:00
doc Add internal_features lint 2023-08-03 14:50:50 +02:00
etc Rollup merge of #113906 - notriddle:notriddle/cargo-extra-env, r=Mark-Simulacrum 2023-07-31 22:49:50 +02:00
librustdoc Auto merge of #113734 - cjgillot:no-crate-lint, r=petrochenkov 2023-08-05 07:20:16 +00:00
llvm-project@a7d11c4537 Update LLVM submodule 2023-07-26 14:55:50 -06:00
rustdoc-json-types Verify that ItemEnum can be serialized and then deserialized using bincode 2023-05-22 18:26:20 +01:00
tools Rollup merge of #114482 - compiler-errors:sigh, r=pnkfelix 2023-08-04 19:47:39 -07:00
README.md
stage0.json Bump bootstrap compiler to latest 2023-07-12 21:26:04 -04:00
version Bump version 2023-07-08 10:35:49 -04:00

This directory contains some source code for the Rust project, including:

  • The bootstrapping build system
  • Various submodules for tools, like cargo, tidy, etc.

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