rust/src
Yuki Okushi 00a7d5c08c
Rollup merge of #86537 - inquisitivecrystal:mark-edition-tests-check-pass, r=JohnTitor
Mark some edition tests as check-pass

## Overview
This helps with #62277. In short, there are some tests that were marked as `build-pass` when it was unclear whether `check-pass` might be more appropriate. This PR marks some of those tests as `compile-pass`, in addition to making some incidental formatting improvements.

## A brief explanation of why this is correct
These tests fall into a few buckets.

`src/test/ui/dyn-keyword/dyn-2015-edition-keyword-ident-lint.rs`
`src/test/ui/dyn-keyword/dyn-2015-idents-in-decl-macros-unlinted.rs`
`src/test/ui/dyn-keyword/dyn-2015-idents-in-macros-unlinted.rs`
`src/test/ui/dyn-keyword/dyn-2015-no-warnings-without-lints.rs`
`src/test/ui/dyn-keyword/issue-56327-dyn-trait-in-macro-is-okay.rs`

These test a lint for a keyword added in a new edition and the corresponding changes in keyword rules.

`src/test/ui/editions/edition-feature-ok.rs`
This checks that a feature related to an edition transition is valid.

`src/test/ui/editions/edition-imports-virtual-2015-ambiguity.rs`
This checks that imports between editions work correctly.

`src/test/ui/editions/edition-keywords-2015-2015-expansion.rs`
`src/test/ui/editions/edition-keywords-2018-2015-expansion.rs`
This checks the interaction between a change in keyword status over editions and macros.

All of the things being tested come before linking and codegen, so it is safe to use `check-pass` for them.
2021-06-22 20:01:06 +09:00
..
bootstrap Rollup merge of #86297 - GuillaumeGomez:rustdoc-gui-args, r=Mark-Simulacrum 2021-06-22 07:37:48 +09:00
build_helper Revert "Move llvm submodule updates to rustbuild" 2021-05-24 17:52:18 -04:00
ci Rollup merge of #86472 - Mark-Simulacrum:fix-ci-beta, r=pietroalbini 2021-06-22 00:00:42 +09:00
doc Fix rust.css fonts. 2021-06-20 18:15:54 -07:00
etc rustdoc: link to stable/beta docs consistently in documentation 2021-06-04 14:18:21 -04:00
librustdoc Rollup merge of #86501 - jyn514:doctest-cleanup, r=CraftSpider 2021-06-22 20:01:04 +09: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 Rollup merge of #86537 - inquisitivecrystal:mark-edition-tests-check-pass, r=JohnTitor 2021-06-22 20:01:06 +09:00
tools Rollup merge of #86297 - GuillaumeGomez:rustdoc-gui-args, r=Mark-Simulacrum 2021-06-22 07:37:48 +09:00
README.md update message 2021-02-14 10:08:37 +05:30
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.