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

Update rustc #6

Merged
merged 7,150 commits into from
Mar 5, 2018
Merged

Update rustc #6

merged 7,150 commits into from
Mar 5, 2018

Conversation

onur
Copy link
Owner

@onur onur commented Oct 20, 2017

Last update 2018-03-03: rustc is compatible with docs.rs again!

Closes: onur/docs.rs#171

@onur onur changed the title Docs.rs update rustc Update rustc Oct 20, 2017
@dragostis
Copy link

Any updates on this? Is there anyone else in the community that could help?

@onur
Copy link
Owner Author

onur commented Jan 30, 2018

@dragostis there is an issue on Windows build. With dist command, bootstrap is trying to run date command from a unix system and failing because of wrong arguments. It might be fixed in recent commits, I'll try again.

Manishearth and others added 23 commits February 23, 2018 10:24
…d_access_hygiene, r=petrochenkov

Improve tuple struct field access hygiene

Fixes rust-lang#47312 by fixing a span bug.
r? @nrc
…um-args, r=estebank

detect wrong number of args when type-checking a closure

Instead of creating inference variables for those argument types, use
the trait error-reporting code to give a nicer error. This also
improves some other spans for existing tests.

Fixes rust-lang#47244

r? @estebank
Add Iterator::try_for_each

The fallible version of `for_each` aka the stateless version of `try_fold`.  Inspired by @cuviper's comment in rust-lang#45379 (comment) as a more direct and obvious solution than `.map(f).collect::<Result<(), _>>()`.

Like `for_each`, no need for an `r` version thanks to overrides in `Rev`.

`iterator_try_fold` tracking issue: rust-lang#45594
…erister

lookup exported symbols only when needed.

reduces the time to compile small file with no optimization by half.
…bank

Overhaul improper_ctypes output

This snowballed into a rather big set of improvements to the diagnostics of the improper_ctypes lint. See commits for details, including effects of each change on the `compile-fail/improper-ctypes.rs` test (now a UI test), which is pretty gnarly and hopefully not representative of real code, but covers a lot of different error cases.

Fixes rust-lang#42050
…tsakis

Use sparse bitsets instead of dense ones for NLL results

This is for rust-lang#48170.

r? @nikomatsakis
update tracking issue for nll

Point to the new tracing issue for nll

For reference rust-lang#44928
Small grammar fix to docs for String::new()
[docs] Minor wording changes to drain_filter docs

The docs currently say, "If the closure returns false, it will try again, and call the closure on the next element."  But this happens regardless of whether the closure returns true or false.
Run-pass and compile-fail tests appear to take the most significant
chunk of time, so split them into their own builder.
Previously, if the gdb command was available, but threw an error, compiletest would panic.  This is obviously not good. Now, gdb is treated as missing if calling `gdb --version` does not output anything on stdout.
…k-Simulacrum

Split MinGW tests into two builders on AppVeyor

Run-pass and compile-fail tests appear to take the most significant chunk of time, so split them into their own builder.

Should help with rust-lang#46903.

r? @kennytm
cc @alexcrichton
Zoxc and others added 21 commits March 2, 2018 10:48
This reverts commit ccd92c2.

This commit is the source of a major perf regression, and was not
intended to be included in rust-lang#47861. At some point I must have
accidentally re-added the commit.
Replace Rc with Lrc for shared data

This replaces `Rc`s reachable from `TyCtxt` with `Lrc`. This has no effect unless `cfg(parallel_queries)` is set. It also contains a fix for the `Decodable` impl for `Arc`.

r? @nikomatsakis
…komatsakis

Revert "correct subtle bug in the type variable code"

This reverts commit ccd92c2.

This commit is the source of a major perf regression, and was not
intended to be included in rust-lang#47861. At some point I must have
accidentally re-added the commit.

Fixes rust-lang#48660.

r? @nikomatsakis
Rollup (unsupervised)

less risky PRs, to run overnight
Backport LLVM fixes for a JumpThreading / assume intrinsic bug

This fixes the original cause of rust-lang#48116 and restores the assume intrinsic that was removed as a workaround.

r? @alexcrichton
@onur onur force-pushed the docs.rs-update-rustc branch 2 times, most recently from 9242cd6 to 5c1d29a Compare March 3, 2018 20:22
@onur onur merged commit 9ac9150 into docs.rs Mar 5, 2018
@onur onur deleted the docs.rs-update-rustc branch March 5, 2018 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.