rust/src
bors c86212f9bc Auto merge of #111858 - clubby789:fluent-alphabetical, r=jyn514,compiler-errors
Ensure Fluent messages are in alphabetical order

Fixes #111847

This adds a tidy check to ensure Fluent messages are in alphabetical order, as well as sorting all existing messages. I think the error could be worded better, would appreciate suggestions.

<details>
<summary>Script used to sort files</summary>

```py
import sys
import re

fn = sys.argv[1]
with open(fn, 'r') as f:
    data = f.read().split("\n")

chunks = []
cur = ""
for line in data:
    if re.match(r"^([a-zA-Z0-9_]+)\s*=\s*", line):
        chunks.append(cur)
        cur = ""
    cur += line + "\n"
chunks.append(cur)
chunks.sort()

with open(fn, 'w') as f:
    f.write(''.join(chunks).strip("\n\n") + "\n")
```
</details>
2023-05-26 03:31:04 +00:00
..
bootstrap Auto merge of #110906 - ekusiadadus:ekusiadadus/fix-bash-complete-etc, r=albertlarsan68 2023-05-25 11:21:17 +00:00
ci Auto merge of #111575 - alex:patch-1, r=pietroalbini 2023-05-25 03:21:28 +00:00
doc Rollup merge of #111152 - lukas-code:markdown-parsers-are-hard, r=GuillaumeGomez 2023-05-25 13:57:59 -07:00
etc Auto merge of #111566 - clubby789:bootstrap-override-config, r=ozkanonur 2023-05-24 10:56:34 +00:00
librustdoc Auto merge of #111512 - petrochenkov:microdoc2, r=GuillaumeGomez 2023-05-25 14:00:31 +00:00
llvm-project@533d3f338b Update to LLVM 16.0.4 2023-05-17 10:35:12 +02:00
rustdoc-json-types Verify that ItemEnum can be serialized and then deserialized using bincode 2023-05-22 18:26:20 +01:00
tools Auto merge of #111858 - clubby789:fluent-alphabetical, r=jyn514,compiler-errors 2023-05-26 03:31:04 +00:00
README.md
stage0.json
version

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.