Skip to content

Commit cb5c011

Browse files
committed
Merge branch 'master' into binary-heap-ta
2 parents 24df5f2 + 9c843d9 commit cb5c011

File tree

42,145 files changed

+1208997
-415809
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42,145 files changed

+1208997
-415809
lines changed

Diff for: .editorconfig

+4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ trim_trailing_whitespace = true
1111
insert_final_newline = true
1212
indent_style = space
1313
indent_size = 4
14+
max_line_length = 100
1415

1516
[*.md]
1617
# double whitespace at end of line
@@ -19,3 +20,6 @@ trim_trailing_whitespace = false
1920

2021
[*.yml]
2122
indent_size = 2
23+
24+
[Makefile]
25+
indent_style = tab

Diff for: .git-blame-ignore-revs

+12
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
1+
# Use `git config blame.ignorerevsfile .git-blame-ignore-revs` to make `git blame` ignore the following commits.
2+
13
# format the world
24
a06baa56b95674fc626b3c3fd680d6a65357fe60
35
# format libcore
46
95e00bfed801e264e9c4ac817004153ca0f19eb6
57
# reformat with new rustfmt
68
971c549ca334b7b7406e61e958efcca9c4152822
9+
# refactor infcx building
10+
283abbf0e7d20176f76006825b5c52e9a4234e4c
11+
# format libstd/sys
12+
c34fbfaad38cf5829ef5cfe780dc9d58480adeaa
13+
# move tests
14+
cf2dff2b1e3fa55fa5415d524200070d0d7aacfe
15+
# Run rustfmt on bootstrap
16+
b39a1d6f1a30ba29f25d7141038b9a5bf0126e36
17+
# reorder fluent message files
18+
f97fddab91fbf290ea5b691fe355d6f915220b6e

Diff for: .gitattributes

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
src/etc/installer/gfx/* binary
1010
src/vendor/** -text
1111
Cargo.lock linguist-generated=false
12-
config.toml.example linguist-language=TOML
1312

1413
# Older git versions try to fix line endings on images and fonts, this prevents it.
1514
*.png binary

Diff for: .github/ISSUE_TEMPLATE/diagnostics.md

-46
This file was deleted.

Diff for: .github/ISSUE_TEMPLATE/diagnostics.yaml

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: Diagnostic issue
2+
description: Create a bug report or feature request for a change to `rustc`'s error output
3+
labels: ["A-diagnostics", "T-compiler"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thank you for filing a diagnostics bug report! 🐛
9+
10+
Please provide a short summary of the bug, along with any information you feel relevant to replicating the bug.
11+
12+
If you cannot produce a minimal reproduction case (something that would work in isolation), please provide the steps or even link to a repository that causes the problematic output to occur.
13+
- type: textarea
14+
id: code
15+
attributes:
16+
label: Code
17+
description: Please provide code that can reproduce the problem
18+
placeholder: code
19+
render: Rust
20+
validations:
21+
required: true
22+
- type: textarea
23+
id: output
24+
attributes:
25+
label: Current output
26+
description: Please provide the `rustc` output you see
27+
placeholder: rustc output
28+
render: Shell
29+
validations:
30+
required: true
31+
- type: textarea
32+
id: desired-output
33+
attributes:
34+
label: Desired output
35+
description: Please provide what the output *should* be
36+
placeholder: proposed output
37+
render: Shell
38+
validations:
39+
required: false
40+
- type: textarea
41+
id: rationale
42+
attributes:
43+
label: Rationale and extra context
44+
description: If the problem is not self-explanatory, please provide a rationale for the change.
45+
validations:
46+
required: false
47+
- type: textarea
48+
id: other-output
49+
attributes:
50+
label: Other cases
51+
description: If dramatically different output is caused by small changes, consider also adding them here.
52+
render: Rust
53+
validations:
54+
required: false
55+
- type: markdown
56+
attributes:
57+
value: |
58+
If you're using the stable version of the compiler, you should also check if the bug also exists in the beta or nightly versions. The output might also be different depending on the Edition.
59+
- type: textarea
60+
id: extra
61+
attributes:
62+
label: Anything else?
63+
description: If you have more details you want to give us to reproduce this issue, please add it here
64+
validations:
65+
required: false

Diff for: .github/ISSUE_TEMPLATE/documentation.md

-16
This file was deleted.

Diff for: .github/ISSUE_TEMPLATE/documentation.yaml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Documentation problem
2+
description: Create a report for a documentation problem.
3+
labels: ["A-docs"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thank you for finding a documentation problem! 📚
9+
10+
Documentation problems might be grammatical issues, typos, or unclear wording, please provide details regarding the documentation including where it is present.
11+
12+
Note: If your issue is for one of these, please use their dedicated issue tracker instead:
13+
- [The Rust Book](https://github.com/rust-lang/book/issues)
14+
- [Rust by Example](https://github.com/rust-lang/rust-by-example/issues)
15+
- [The Edition Guide](https://github.com/rust-lang/edition-guide/issues)
16+
- [The Cargo Book](https://github.com/rust-lang/cargo/issues)
17+
- [The Clippy Book](https://github.com/rust-lang/rust-clippy/issues)
18+
- [The Reference](https://github.com/rust-lang/reference/issues)
19+
- [The Rustonomicon](https://github.com/rust-lang/nomicon/issues)
20+
- [The Embedded Book](https://github.com/rust-embedded/book/issues)
21+
22+
All other documentation issues should be filed here.
23+
24+
Or, if you find an issue related to rustdoc (e.g. doctest, rustdoc UI), please use the bug report or blank issue template instead.
25+
26+
- type: textarea
27+
id: location
28+
attributes:
29+
label: Location
30+
validations:
31+
required: true
32+
33+
- type: textarea
34+
id: summary
35+
attributes:
36+
label: Summary
37+
validations:
38+
required: true

Diff for: .github/ISSUE_TEMPLATE/ice.md

-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ labels: C-bug, I-ICE, T-compiler
77
Thank you for finding an Internal Compiler Error! 🧊 If possible, try to provide
88
a minimal verifiable example. You can read "Rust Bug Minimization Patterns" for
99
how to create smaller examples.
10-
1110
http://blog.pnkfx.org/blog/2019/11/18/rust-bug-minimization-patterns/
12-
1311
-->
1412

1513
### Code
@@ -49,4 +47,3 @@ environment. E.g. `RUST_BACKTRACE=1 cargo build`.
4947

5048
</p>
5149
</details>
52-

Diff for: .github/ISSUE_TEMPLATE/ice.yaml

+82
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
name: Internal Compiler Error (for use by automated tooling)
2+
description: For now, you'll want to use the other ICE template, as GitHub forms have strict limits on the size of fields so backtraces cannot be pasted directly.
3+
labels: ["C-bug", "I-ICE", "T-compiler"]
4+
title: "[ICE]: "
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thank you for finding an Internal Compiler Error! 🧊
10+
11+
If possible, try to provide a minimal verifiable example.
12+
13+
You can read "[Rust Bug Minimization Patterns](http://blog.pnkfx.org/blog/2019/11/18/rust-bug-minimization-patterns/)" for how to create smaller examples.
14+
15+
- type: textarea
16+
id: code
17+
attributes:
18+
label: Code
19+
description: Please provide code or a link to a repository that can reproduce the problem
20+
placeholder: code
21+
render: Rust
22+
validations:
23+
required: false
24+
25+
- type: checkboxes
26+
attributes:
27+
label: Affected release channels
28+
description: If you're using the stable version of the compiler, you should also check if the bug also exists in the beta or nightly versions
29+
options:
30+
- label: Previous Stable
31+
required: false
32+
- label: Current Stable
33+
required: false
34+
- label: Current Beta
35+
required: false
36+
- label: Current Nightly
37+
required: false
38+
39+
- type: textarea
40+
id: version
41+
attributes:
42+
label: Rust Version
43+
description: Please provide the `rustc` version, `rustc --version --verbose`
44+
placeholder: |
45+
$ rustc --version --verbose
46+
rustc 1.XX.Y (SHORTHASH DATE)
47+
binary: rustc
48+
commit-hash: LONGHASHVALUE
49+
commit-date: DATE
50+
host: PLATFORMTRIPLE
51+
release: 1.XX.Y
52+
LLVM version: XX.YY.ZZ
53+
render: Shell
54+
validations:
55+
required: true
56+
57+
- type: textarea
58+
id: output
59+
attributes:
60+
label: Current error output
61+
description: Please provide the `rustc` output you see
62+
placeholder: output
63+
render: Shell
64+
validations:
65+
required: false
66+
67+
- type: textarea
68+
id: backtrace
69+
attributes:
70+
label: Backtrace
71+
description: Include a backtrace in the code block by setting `RUST_BACKTRACE=full` in your environment, e.g. `RUST_BACKTRACE=full cargo build`
72+
render: Shell
73+
validations:
74+
required: true
75+
76+
- type: textarea
77+
id: extra
78+
attributes:
79+
label: Anything else?
80+
description: If you have more details you want to give us to reproduce this issue, please add it here
81+
validations:
82+
required: false

Diff for: .github/ISSUE_TEMPLATE/library_tracking_issue.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Tracking issues are for tracking a feature from implementation to stabilization.
1212
Make sure to include the relevant RFC for the feature if it has one.
1313
1414
If the new feature is small, it may be fine to skip the RFC process. In that
15-
case, you can use use `issue = "none"` in your initial implementation PR. The
15+
case, you can use `issue = "none"` in your initial implementation PR. The
1616
reviewer will ask you to open a tracking issue if they agree your feature can be
1717
added without an RFC.
1818
-->
@@ -65,7 +65,7 @@ the rfcbot will ask all the team members to verify they agree with
6565
stabilization. Once enough members agree and there are no concerns, the final
6666
comment period begins: this issue will be marked as such and will be listed
6767
in the next This Week in Rust newsletter. If no blocking concerns are raised in
68-
that period of 10 days, a stabilzation PR can be opened by anyone.
68+
that period of 10 days, a stabilization PR can be opened by anyone.
6969
-->
7070

7171
### Unresolved Questions

0 commit comments

Comments
 (0)