forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from Kobzol/update
Update
- Loading branch information
Showing
51,061 changed files
with
3,786,123 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
BasedOnStyle: LLVM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# EditorConfig helps developers define and maintain consistent | ||
# coding styles between different editors and IDEs | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[*.rs] | ||
max_line_length = 100 | ||
|
||
[*.md] | ||
# double whitespace at end of line | ||
# denotes a line break in Markdown | ||
trim_trailing_whitespace = false | ||
|
||
[*.yml] | ||
indent_size = 2 | ||
|
||
[Makefile] | ||
indent_style = tab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Use `git config blame.ignorerevsfile .git-blame-ignore-revs` to make `git blame` ignore the following commits. | ||
|
||
# format the world | ||
a06baa56b95674fc626b3c3fd680d6a65357fe60 | ||
# format libcore | ||
95e00bfed801e264e9c4ac817004153ca0f19eb6 | ||
# reformat with new rustfmt | ||
971c549ca334b7b7406e61e958efcca9c4152822 | ||
# refactor infcx building | ||
283abbf0e7d20176f76006825b5c52e9a4234e4c | ||
# format libstd/sys | ||
c34fbfaad38cf5829ef5cfe780dc9d58480adeaa | ||
# move tests | ||
cf2dff2b1e3fa55fa5415d524200070d0d7aacfe | ||
# Run rustfmt on bootstrap | ||
b39a1d6f1a30ba29f25d7141038b9a5bf0126e36 | ||
# reorder fluent message files | ||
f97fddab91fbf290ea5b691fe355d6f915220b6e | ||
# format let-else | ||
cc907f80b95c6ec530c5ee1b05b044a468f07eca | ||
# format let-chains | ||
b2d2184edea578109a48ec3d8decbee5948e8f35 | ||
# test directives migration | ||
6e48b96692d63a79a14563f27fe5185f122434f8 | ||
ec2cc761bc7067712ecc7734502f703fe3b024c8 | ||
# format use declarations | ||
84ac80f1921afc243d71fd0caaa4f2838c294102 | ||
# bless mir-opt tests to add `copy` | ||
99cb0c6bc399fb94a0ddde7e9b38e9c00d523bad | ||
# reformat with rustfmt edition 2024 | ||
c682aa162b0d41e21cc6748f4fecfe01efb69d1f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[attr]rust text eol=lf whitespace=tab-in-indent,trailing-space,tabwidth=4 | ||
|
||
* text=auto eol=lf | ||
*.cpp rust | ||
*.h rust | ||
*.rs rust diff=rust | ||
*.fixed linguist-language=Rust | ||
*.mir linguist-language=Rust | ||
src/etc/installer/gfx/* binary | ||
src/vendor/** -text | ||
Cargo.lock linguist-generated=false | ||
|
||
# Older git versions try to fix line endings on images and fonts, this prevents it. | ||
*.png binary | ||
*.ico binary | ||
*.woff binary | ||
*.woff2 binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
name: Bug Report | ||
about: Create a bug report for Rust. | ||
labels: C-bug | ||
--- | ||
<!-- | ||
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug, | ||
along with any information you feel relevant to replicating the bug. | ||
--> | ||
|
||
I tried this code: | ||
|
||
```rust | ||
<code> | ||
``` | ||
|
||
I expected to see this happen: *explanation* | ||
|
||
Instead, this happened: *explanation* | ||
|
||
### Meta | ||
<!-- | ||
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. | ||
--> | ||
|
||
`rustc --version --verbose`: | ||
``` | ||
<version> | ||
``` | ||
|
||
<!-- | ||
Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your | ||
environment. E.g. `RUST_BACKTRACE=1 cargo build`. | ||
--> | ||
<details><summary>Backtrace</summary> | ||
<p> | ||
|
||
``` | ||
<backtrace> | ||
``` | ||
|
||
</p> | ||
</details> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: Question | ||
url: https://users.rust-lang.org | ||
about: Please ask and answer questions about Rust on the user forum. | ||
- name: Feature Request | ||
url: https://internals.rust-lang.org/ | ||
about: Please discuss language feature requests on the internals forum. | ||
- name: Clippy Bug | ||
url: https://github.com/rust-lang/rust-clippy/issues/new/choose | ||
about: Please report Clippy bugs such as false positives in the Clippy repo. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
name: Diagnostic issue | ||
description: Create a bug report or feature request for a change to `rustc`'s error output | ||
labels: ["A-diagnostics", "T-compiler"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thank you for filing a diagnostics bug report! 🐛 | ||
Please provide a short summary of the bug, along with any information you feel relevant to replicating the bug. | ||
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. | ||
- type: textarea | ||
id: code | ||
attributes: | ||
label: Code | ||
description: Please provide code that can reproduce the problem | ||
placeholder: code | ||
render: Rust | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: output | ||
attributes: | ||
label: Current output | ||
description: Please provide the `rustc` output you see | ||
placeholder: rustc output | ||
render: Shell | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: desired-output | ||
attributes: | ||
label: Desired output | ||
description: Please provide what the output *should* be | ||
placeholder: proposed output | ||
render: Shell | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: rationale | ||
attributes: | ||
label: Rationale and extra context | ||
description: If the problem is not self-explanatory, please provide a rationale for the change. | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: other-output | ||
attributes: | ||
label: Other cases | ||
description: If dramatically different output is caused by small changes, consider also adding them here. | ||
render: Rust | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: version | ||
attributes: | ||
label: Rust Version | ||
description: Please provide the `rustc` version, `rustc --version --verbose`. Make sure that you're using the latest version of the compiler, and not an outdated stable or nightly release! | ||
placeholder: | | ||
$ rustc --version --verbose | ||
rustc 1.XX.Y (SHORTHASH DATE) | ||
binary: rustc | ||
commit-hash: LONGHASHVALUE | ||
commit-date: DATE | ||
host: PLATFORMTRIPLE | ||
release: 1.XX.Y | ||
LLVM version: XX.YY.ZZ | ||
render: Shell | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: extra | ||
attributes: | ||
label: Anything else? | ||
description: If you have more details you want to give us to reproduce this issue, please add it here | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Documentation problem | ||
description: Create a report for a documentation problem. | ||
labels: ["A-docs"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thank you for finding a documentation problem! 📚 | ||
Documentation problems might be grammatical issues, typos, or unclear wording, please provide details regarding the documentation including where it is present. | ||
Note: If your issue is for one of these, please use their dedicated issue tracker instead: | ||
- [The Rust Book](https://github.com/rust-lang/book/issues) | ||
- [Rust by Example](https://github.com/rust-lang/rust-by-example/issues) | ||
- [The Edition Guide](https://github.com/rust-lang/edition-guide/issues) | ||
- [The Cargo Book](https://github.com/rust-lang/cargo/issues) | ||
- [The Clippy Book](https://github.com/rust-lang/rust-clippy/issues) | ||
- [The Reference](https://github.com/rust-lang/reference/issues) | ||
- [The Rustonomicon](https://github.com/rust-lang/nomicon/issues) | ||
- [The Embedded Book](https://github.com/rust-embedded/book/issues) | ||
All other documentation issues should be filed here. | ||
Or, if you find an issue related to rustdoc (e.g. doctest, rustdoc UI), please use the bug report or blank issue template instead. | ||
- type: textarea | ||
id: location | ||
attributes: | ||
label: Location | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: summary | ||
attributes: | ||
label: Summary | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
name: Internal Compiler Error | ||
about: Create a report for an internal compiler error in rustc. | ||
labels: C-bug, I-ICE, T-compiler | ||
--- | ||
<!-- | ||
Thank you for finding an Internal Compiler Error! 🧊 If possible, try to provide | ||
a minimal verifiable example. You can read "Rust Bug Minimization Patterns" for | ||
how to create smaller examples. | ||
http://blog.pnkfx.org/blog/2019/11/18/rust-bug-minimization-patterns/ | ||
--> | ||
|
||
### Code | ||
|
||
```Rust | ||
<code> | ||
``` | ||
|
||
|
||
### Meta | ||
<!-- | ||
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. | ||
--> | ||
|
||
`rustc --version --verbose`: | ||
``` | ||
<version> | ||
``` | ||
|
||
### Error output | ||
|
||
``` | ||
<output> | ||
``` | ||
|
||
<!-- | ||
Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your | ||
environment. E.g. `RUST_BACKTRACE=1 cargo build`. | ||
--> | ||
<details><summary><strong>Backtrace</strong></summary> | ||
<p> | ||
|
||
``` | ||
<backtrace> | ||
``` | ||
|
||
</p> | ||
</details> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
name: Internal Compiler Error (for use by automated tooling) | ||
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. | ||
labels: ["C-bug", "I-ICE", "T-compiler"] | ||
title: "[ICE]: " | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thank you for finding an Internal Compiler Error! 🧊 | ||
If possible, try to provide a minimal verifiable example. | ||
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. | ||
- type: textarea | ||
id: code | ||
attributes: | ||
label: Code | ||
description: Please provide code or a link to a repository that can reproduce the problem | ||
placeholder: code | ||
render: Rust | ||
validations: | ||
required: false | ||
|
||
- type: checkboxes | ||
attributes: | ||
label: Affected release channels | ||
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 | ||
options: | ||
- label: Previous Stable | ||
required: false | ||
- label: Current Stable | ||
required: false | ||
- label: Current Beta | ||
required: false | ||
- label: Current Nightly | ||
required: false | ||
|
||
- type: textarea | ||
id: version | ||
attributes: | ||
label: Rust Version | ||
description: Please provide the `rustc` version, `rustc --version --verbose`. Make sure that you're using the latest version of the compiler, and not an outdated stable or nightly release! | ||
placeholder: | | ||
$ rustc --version --verbose | ||
rustc 1.XX.Y (SHORTHASH DATE) | ||
binary: rustc | ||
commit-hash: LONGHASHVALUE | ||
commit-date: DATE | ||
host: PLATFORMTRIPLE | ||
release: 1.XX.Y | ||
LLVM version: XX.YY.ZZ | ||
render: Shell | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: output | ||
attributes: | ||
label: Current error output | ||
description: Please provide the `rustc` output you see | ||
placeholder: output | ||
render: Shell | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
id: backtrace | ||
attributes: | ||
label: Backtrace | ||
description: Include a backtrace in the code block by setting `RUST_BACKTRACE=full` in your environment, e.g. `RUST_BACKTRACE=full cargo build` | ||
render: Shell | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: extra | ||
attributes: | ||
label: Anything else? | ||
description: If you have more details you want to give us to reproduce this issue, please add it here | ||
validations: | ||
required: false |
Oops, something went wrong.