Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 22 pull requests #59364

Closed
wants to merge 81 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
7e1914f
hir: replace NodeId with HirId in trait_impls
ljedrz Mar 10, 2019
401329e
HirIdification: remove all NodeIds from borrowck
ljedrz Mar 10, 2019
aa53741
HirIdification: remove all NodeIds from typeck
ljedrz Mar 10, 2019
9151eab
HirIdification: remove all NodeIds from rustc_mir
ljedrz Mar 10, 2019
584d61a
hir: remove trait_auto_impl
ljedrz Mar 10, 2019
18229bb
syntax: Better recovery for `$ty::AssocItem` and `ty!()::AssocItem`
petrochenkov Mar 9, 2019
79c3651
syntax: Optimize `maybe_whole`/`maybe_whole_expr` slightly
petrochenkov Mar 10, 2019
1ab8ca3
Address review comments
petrochenkov Mar 12, 2019
856b081
middle: replace NodeId with HirId in AccessLevels
ljedrz Mar 11, 2019
ff5e31f
Fix a broken link to the rustc-guide
varkor Mar 14, 2019
6e449da
Remove trailing newlines
varkor Mar 14, 2019
205ab0c
Add a link to the Discord and Zulip servers
varkor Mar 14, 2019
6f3fda9
Add links to @rust-highfive and @bors
varkor Mar 14, 2019
eadb844
Update r+ syntax
varkor Mar 14, 2019
308a002
Make all references to @bors or users links
varkor Mar 14, 2019
3a00649
Move rollup description earlier
varkor Mar 14, 2019
037596c
Fix capitalisation problem
varkor Mar 14, 2019
b392c5e
use the identifier span for missing struct field
euclio Mar 16, 2019
498bead
Tweak spans for E0599
estebank Mar 10, 2019
713f96d
Swap const evaluation lint spans to point at problem in primary span
estebank Mar 11, 2019
690bc57
Swap primary/secondary spans for E0458
estebank Mar 11, 2019
18d727f
Tweak unsupported negative trait bounds message
estebank Mar 11, 2019
bb15af1
Tweak unnecessary import suggestion
estebank Mar 11, 2019
b616cca
Hide obvious suggestion from cli output
estebank Mar 11, 2019
743d019
Deduplicate const eval error spans for better output
estebank Mar 11, 2019
b53ca90
Mark duplicate import removal suggestion tool only
estebank Mar 11, 2019
d1656f1
Fix rebase
estebank Mar 17, 2019
6007e6f
Do not complain about non-existing fields after parse recovery
estebank Mar 18, 2019
bb832c2
some small HIR doc improvements
llogiq Mar 18, 2019
ec6f983
Rename typarams to param_names
varkor Mar 13, 2019
c915fe0
Rename external_typarams to external_param_names
varkor Mar 13, 2019
1491315
Implement `Clean` for const generics
varkor Mar 13, 2019
29ed491
Add `GenericArg`
varkor Mar 13, 2019
cd9a2c0
Refactor `GenericArgs` to include const generics
varkor Mar 13, 2019
38d98a1
Implement const generics in `generics_to_path_params`
varkor Mar 13, 2019
9925d9b
Fix indentation issue
varkor Mar 14, 2019
b39e664
Make clean::Constant display respect f.alternate()
varkor Mar 18, 2019
f93ad41
Rename first_ty_sty to ty_sty
varkor Mar 18, 2019
9bc5811
Rebase over LazyConst changes
varkor Mar 18, 2019
37789c4
Update src/librustc/hir/mod.rs
Centril Mar 19, 2019
8cf720b
Make Option<ThreadId> no larger than ThreadId, with NonZeroU64
SimonSapin Mar 19, 2019
a291d4e
convert field/method confusion help to suggestions
euclio Mar 19, 2019
757eb67
review comments
estebank Mar 19, 2019
46a8beb
Move some bench tests back from libtest
gnzlbg Mar 20, 2019
b6e5d73
Add messages for different verbosity levels.
o01eg Mar 20, 2019
c1d9191
Add a test for size_of Option<ThreadId>
SimonSapin Mar 20, 2019
a8120d6
Tweak incorrect escaped char diagnostic
estebank Mar 20, 2019
2f8d9a2
Add NAN test to docs
Xaeroxe Mar 20, 2019
e2b5a03
Fix formatting and add unit tests for panic cases
Xaeroxe Mar 20, 2019
295cc77
cleanup: Remove compile-fail-fulldeps directory again
petrochenkov Mar 20, 2019
72f5d91
Fix f64 test
Xaeroxe Mar 20, 2019
830c98d
Fix undefined behavior in hint::spin_loop for x86 targets without SSE2
gnzlbg Mar 16, 2019
16a8abe
use suggestions for "enum instead of variant" error
euclio Mar 20, 2019
de021e3
FreeBSD 10.x is EOL, in FreeBSD 11 and later, ss_sp is actually a voi…
Jan 21, 2019
6b766ba
Update cargo
Mar 21, 2019
6389478
Move one test from run-make-fulldeps to ui
petrochenkov Mar 21, 2019
c97d3d4
Add tracking issue number for `seek_convenience`
LukasKalbertodt Mar 22, 2019
48af718
Expand `impl FromIterator for Option` doc to include example of early…
pnkfelix Mar 20, 2019
d5a61c0
Expand `impl FromIterator for Result` doc to include examples of `Err…
pnkfelix Mar 20, 2019
9c53011
Rollup merge of #57810 - MikaelUrankar:stack_t_bsd, r=nagisa
Mark-Simulacrum Mar 22, 2019
1f2ba0d
Rollup merge of #59058 - petrochenkov:assocrecov3, r=estebank
Mark-Simulacrum Mar 22, 2019
b76fa33
Rollup merge of #59068 - ljedrz:kill_off_NodeId_stragglers, r=Zoxc
Mark-Simulacrum Mar 22, 2019
ae89abd
Rollup merge of #59084 - estebank:diagnostic-spans, r=davidtwco
Mark-Simulacrum Mar 22, 2019
dbe70a3
Rollup merge of #59096 - ljedrz:HirIdify_AccessLevel, r=Zoxc
Mark-Simulacrum Mar 22, 2019
69a69bc
Rollup merge of #59170 - varkor:const-generics-rustdoc, r=QuietMisdre…
Mark-Simulacrum Mar 22, 2019
c9f6316
Rollup merge of #59172 - varkor:contributing-contributions, r=stevekl…
Mark-Simulacrum Mar 22, 2019
8f170fe
Rollup merge of #59239 - gnzlbg:fix_spin_loop, r=nagisa
Mark-Simulacrum Mar 22, 2019
20211eb
Rollup merge of #59240 - euclio:struct-field-span, r=oli-obk
Mark-Simulacrum Mar 22, 2019
4103238
Rollup merge of #59266 - estebank:struct-parse-recovery, r=petrochenkov
Mark-Simulacrum Mar 22, 2019
bd6a70d
Rollup merge of #59273 - llogiq:hir-docs, r=matthewjasper
Mark-Simulacrum Mar 22, 2019
2a5c042
Rollup merge of #59291 - SimonSapin:nonzero-thread-id, r=alexcrichton
Mark-Simulacrum Mar 22, 2019
fc1a533
Rollup merge of #59297 - euclio:field-method-suggestions, r=estebank
Mark-Simulacrum Mar 22, 2019
3da4970
Rollup merge of #59304 - gnzlbg:bench_tests, r=alexcrichton
Mark-Simulacrum Mar 22, 2019
e90bf70
Rollup merge of #59309 - o01eg:verbose-copy-files, r=alexcrichton
Mark-Simulacrum Mar 22, 2019
0d456f4
Rollup merge of #59322 - estebank:diag-tweak, r=davidtwco
Mark-Simulacrum Mar 22, 2019
5fa6896
Rollup merge of #59323 - euclio:enum-instead-of-variant, r=varkor
Mark-Simulacrum Mar 22, 2019
ff929e5
Rollup merge of #59327 - Xaeroxe:clamp-doc, r=scottmcm
Mark-Simulacrum Mar 22, 2019
ad30404
Rollup merge of #59329 - petrochenkov:rmcff, r=alexcrichton
Mark-Simulacrum Mar 22, 2019
b5424a0
Rollup merge of #59347 - petrochenkov:nomake, r=davidtwco
Mark-Simulacrum Mar 22, 2019
ab4c5b3
Rollup merge of #59360 - LukasKalbertodt:patch-2, r=rkruppe
Mark-Simulacrum Mar 22, 2019
f90f0b3
Rollup merge of #59362 - pnkfelix:demo-from-iterator-short-circuiting…
Mark-Simulacrum Mar 22, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 29 additions & 23 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ links to the major sections:
* [Helpful Links and Information](#helpful-links-and-information)

If you have questions, please make a post on [internals.rust-lang.org][internals] or
hop on [#rust-internals][pound-rust-internals].
hop on the [Rust Discord server][rust-discord], [Rust Zulip server][rust-zulip] or [#rust-internals][pound-rust-internals].

As a reminder, all contributors are expected to follow our [Code of Conduct][coc].

Expand All @@ -27,14 +27,17 @@ can give you a good example of how a typical contribution would go.

[pound-rust-internals]: https://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-internals
[internals]: https://internals.rust-lang.org
[rust-discord]: http://discord.gg/rust-lang
[rust-zulip]: https://rust-lang.zulipchat.com
[coc]: https://www.rust-lang.org/conduct.html
[rustc-guide]: https://rust-lang.github.io/rustc-guide/
[walkthrough]: https://rust-lang.github.io/rustc-guide/walkthrough.html

## Feature Requests
[feature-requests]: #feature-requests

To request a change to the way the Rust language works, please head over
to the [RFCs repository](https://github.com/rust-lang/rfcs) and view the
to the [RFCs repository](https://github.com/rust-lang/rfcs) and view the
[README](https://github.com/rust-lang/rfcs/blob/master/README.md)
for instructions.

Expand Down Expand Up @@ -129,28 +132,40 @@ request); you can add [git hooks](https://git-scm.com/book/en/v2/Customizing-Git
before every push to make sure you never forget to make this check.

All pull requests are reviewed by another person. We have a bot,
@rust-highfive, that will automatically assign a random person to review your
[@rust-highfive][rust-highfive], that will automatically assign a random person to review your
request.

If you want to request that a specific person reviews your pull request,
you can add an `r?` to the message. For example, Steve usually reviews
you can add an `r?` to the message. For example, [Steve][steveklabnik] usually reviews
documentation changes. So if you were to make a documentation change, add

r? @steveklabnik

to the end of the message, and @rust-highfive will assign @steveklabnik instead
to the end of the message, and @rust-highfive will assign [@steveklabnik][steveklabnik] instead
of a random person. This is entirely optional.

After someone has reviewed your pull request, they will leave an annotation
on the pull request with an `r+`. It will look something like this:

@bors: r+ 38fe8d2
@bors r+

This tells @bors, our lovable integration bot, that your pull request has
been approved. The PR then enters the [merge queue][merge-queue], where @bors
This tells [@bors][bors], our lovable integration bot, that your pull request has
been approved. The PR then enters the [merge queue][merge-queue], where [@bors][bors]
will run all the tests on every platform we support. If it all works out,
@bors will merge your code into `master` and close the pull request.
[@bors][bors] will merge your code into `master` and close the pull request.

Depending on the scale of the change, you may see a slightly different form of `r+`:

@bors r+ rollup

The additional `rollup` tells [@bors][bors] that this change is eligible for to be
"rolled up". Changes that are rolled up are tested and merged at the same time, to
speed the process up. Typically only small changes that are expected not to conflict
with one another are rolled up.

[rust-highfive]: https://github.com/rust-highfive
[steveklabnik]: https://github.com/steveklabnik
[bors]: https://github.com/bors
[merge-queue]: https://buildbot2.rust-lang.org/homu/queue/rust

Speaking of tests, Rust has a comprehensive test suite. More information about
Expand Down Expand Up @@ -190,7 +205,7 @@ before the PR is merged.
[breaking-tools-built-with-the-compiler]: #breaking-tools-built-with-the-compiler

Rust's build system builds a number of tools that make use of the
internals of the compiler. This includes
internals of the compiler. This includes
[Clippy](https://github.com/rust-lang/rust-clippy),
[RLS](https://github.com/rust-lang/rls) and
[rustfmt](https://github.com/rust-lang/rustfmt). If these tools
Expand Down Expand Up @@ -292,18 +307,8 @@ the submodule to. Running `./x.py build` should work now.

Documentation improvements are very welcome. The source of `doc.rust-lang.org`
is located in `src/doc` in the tree, and standard API documentation is generated
from the source code itself.

Documentation pull requests function in the same way as other pull requests,
though you may see a slightly different form of `r+`:

@bors: r+ 38fe8d2 rollup

That additional `rollup` tells @bors that this change is eligible for a 'rollup'.
To save @bors some work, and to get small changes through more quickly, when
@bors attempts to merge a commit that's rollup-eligible, it will also merge
the other rollup-eligible patches too, and they'll get tested and merged at
the same time.
from the source code itself. Documentation pull requests function in the same way
as other pull requests.

To find documentation-related issues, sort by the [T-doc label][tdoc].

Expand Down Expand Up @@ -428,7 +433,8 @@ are:
* Although out of date, [Tom Lee's great blog article][tlgba] is very helpful
* [rustaceans.org][ro] is helpful, but mostly dedicated to IRC
* The [Rust Compiler Testing Docs][rctd]
* For @bors, [this cheat sheet][cheatsheet] is helpful (Remember to replace `@homu` with `@bors` in the commands that you use.)
* For [@bors][bors], [this cheat sheet][cheatsheet] is helpful
(though you'll need to replace `@homu` with `@bors` in any commands)
* **Google!** ([search only in Rust Documentation][gsearchdocs] to find types, traits, etc. quickly)
* Don't be afraid to ask! The Rust community is friendly and helpful.

Expand Down
Loading