bors
d9a2e3b1cc
Auto merge of #57495 - jamesmunns:mdbook-compat, r=steveklabnik
...
Support multiple versions of MdBook for docs
Only the compatibility items from the embedded book PR. PR with embedded book components: https://github.com/rust-lang/rust/pull/56291
CC @steveklabnik, @ehuss, and https://github.com/rust-lang-nursery/edition-guide/pull/134
2019-01-30 16:20:15 +00:00
Jethro Beekman
a3f0af2e67
Add MOVBE feature
2019-01-30 21:07:48 +05:30
Michael Woerister
b17c10de46
CI: Use lld for linking LLVM in the x86_64-gnu-debug image.
2019-01-30 16:21:43 +01:00
Michael Woerister
dc20c8cc25
bootstrap: Expose LLVM_USE_LINKER cmake option to config.toml.
2019-01-30 16:21:43 +01:00
Michael Woerister
4f534ffbdb
ci: Use clang as the C++ compiler for x86_64-gnu-debug.
2019-01-30 16:21:43 +01:00
Michael Woerister
9c29517af9
bootstrap: Make LLD available to run-make tests.
2019-01-30 16:21:43 +01:00
Michael Woerister
4460e7c919
Add missing packages.
2019-01-30 16:21:43 +01:00
Oliver Scherer
5aa713e1c3
Eliminate an unwrap
2019-01-30 15:51:20 +01:00
Oliver Scherer
4e0af1fee1
Monomorphize types when not going through layout_of_local
2019-01-30 15:42:00 +01:00
James Munns
f8a9a28421
Add exception for new dependency in license checker
2019-01-30 09:25:12 -05:00
James Munns
de76369f93
Update to newer version of mdbook(2)
2019-01-30 09:25:12 -05:00
Oliver Scherer
7017927aaf
Indent fixup
2019-01-30 15:24:41 +01:00
James Munns
9004b44b99
Remove stable feature
2019-01-30 09:13:17 -05:00
James Munns
b98a1e1710
No consumers of MdBook2 yet
2019-01-30 09:13:17 -05:00
James Munns
7389f97cde
Only the compatibility items from the embedded book PR
...
PR: https://github.com/rust-lang/rust/pull/56291
2019-01-30 09:13:17 -05:00
Oliver Scherer
ab708f5c6f
The return place's layout is only used once per frame, so caching doesn't help
2019-01-30 15:08:59 +01:00
Oliver Scherer
4165c890ed
Can't use layout_of_local
for the frame currently being created
2019-01-30 15:05:50 +01:00
Oliver Scherer
154c54c875
Make priroda happy again
2019-01-30 15:01:42 +01:00
Oliver Scherer
bc528d93ec
Allow layout_of_local
to also use cached layouts
2019-01-30 14:55:31 +01:00
bors
e4a9b5c623
Auto merge of #57988 - RalfJung:miri, r=oli-obk
...
update miri
r? @oli-obk
2019-01-30 13:20:32 +00:00
Oliver Scherer
7cfb05fd23
Merge locals
and local_layouts
fields
2019-01-30 14:16:18 +01:00
Ralf Jung
c397ba0420
update miri
2019-01-30 12:58:33 +01:00
bors
43b4c4a36b
Auto merge of #57932 - matthiaskrgr:clippy_submodule_upd, r=oli-obk
...
submodules: update clippy from f1753522
to 6ce78d12
Should fix clippy toolstate
Changes:
````
wildcard_match_arm: Update lint count.
wildcard_match_arm: add nesting issue to known.
wildcard_match_arm: lint only enum matches.
wildcard_match_arm: update ui test stderr
wildcard_match_arm: format test.
wilcard_match_arm: run rustfmt.
wildcard_match_arm: add lint properly.
wildcard_match_arm: rename function.
wildcard_match_arm: add simple ui test.
wildcard_match_arm: expand lint scope.
Change match_wild lint name to WILDCARD_MATCH_ARM.
Add match_wild lint (#3649 ).
fetch_prs_between: add .sh file ending
cargo fmt
Update various docs
Use built-in entry_fn detection over self-built
cargo fmt
Reorganize conditionals: Run faster checks first
Maybe fix ICE?
Add initial version of const_fn lint
Fix `unit_arg` false positive
Rustfmt
Check hypothetically failing conversion
Remove tests for deprecated items
Update more changed iterator paths
Atomics constants are now handled by the deprecation lint
Update changed iterator paths
Update const slice processing
update test stderr
run cargo fmt
rustup https://github.com/rust-lang/rust/pull/57907/
Fix documentation for `slow_vector_initialization`
rustup https://github.com/rust-lang/rust/pull/57726
Remove unsafe_vector_initialization from added lints
Prevent incorrect cast_lossless suggestion in const_fn
Incorporate review suggestions
Fix dogfood tests on Appveyor
test(versioncheck): Use .no_deps()
test(versioncheck): Fix version equality check
chore(cargo/dependencies/cargo-metadata): Upgrade to 0.7.1
dependencies: update itertools from 0.7 to 0.8
Add script to fetch GitHub PRs between two commits
gitattributes: Treat .fixed files as rust files
Update changelog with all changes since 0.0.212
Fix `expect_fun_call` lint suggestions
````
r? @oli-obk
2019-01-30 09:30:30 +00:00
Andre Bogus
b062b75559
override VecDeque
's Iter::try_fold
2019-01-30 09:11:17 +01:00
Knium_
62867b4992
Suggest to add each of |
and ()
when unexpected ,
is found in pattern
2019-01-30 13:50:44 +09:00
bors
d3d0bf0e9f
Auto merge of #57975 - alexcrichton:debug-exit-appveyor, r=pietroalbini
...
Attempt to debug 259 exit code on AppVeyor
Let's try to dig in a bit more and see where this is coming from, it
looks like AppVeyor is also unsure where this is coming from!
2019-01-30 03:44:11 +00:00
Matthias Krüger
a27cf8a281
submodules: update clippy from f1753522
to 6ce78d12
...
Changes:
````
wildcard_match_arm: Update lint count.
wildcard_match_arm: add nesting issue to known.
wildcard_match_arm: lint only enum matches.
wildcard_match_arm: update ui test stderr
wildcard_match_arm: format test.
wilcard_match_arm: run rustfmt.
wildcard_match_arm: add lint properly.
wildcard_match_arm: rename function.
wildcard_match_arm: add simple ui test.
wildcard_match_arm: expand lint scope.
Change match_wild lint name to WILDCARD_MATCH_ARM.
Add match_wild lint (#3649 ).
fetch_prs_between: add .sh file ending
cargo fmt
Update various docs
Use built-in entry_fn detection over self-built
cargo fmt
Reorganize conditionals: Run faster checks first
Maybe fix ICE?
Add initial version of const_fn lint
Fix `unit_arg` false positive
Rustfmt
Check hypothetically failing conversion
Remove tests for deprecated items
Update more changed iterator paths
Atomics constants are now handled by the deprecation lint
Update changed iterator paths
Update const slice processing
update test stderr
run cargo fmt
rustup https://github.com/rust-lang/rust/pull/57907/
Fix documentation for `slow_vector_initialization`
rustup https://github.com/rust-lang/rust/pull/57726
Remove unsafe_vector_initialization from added lints
Prevent incorrect cast_lossless suggestion in const_fn
Incorporate review suggestions
Fix dogfood tests on Appveyor
test(versioncheck): Use .no_deps()
test(versioncheck): Fix version equality check
chore(cargo/dependencies/cargo-metadata): Upgrade to 0.7.1
dependencies: update itertools from 0.7 to 0.8
Add script to fetch GitHub PRs between two commits
gitattributes: Treat .fixed files as rust files
Update changelog with all changes since 0.0.212
Fix `expect_fun_call` lint suggestions
````
2019-01-30 01:25:05 +01:00
bors
40e6a0bd76
Auto merge of #57953 - mati865:cc-fix, r=alexcrichton
...
Do not set CC, CFLAGS, CXX, CXXFLAGS, AR, RANLIB in bootstrap, it breaks cross compilation
Fixes https://github.com/rust-lang/rust/issues/57812
I tested it in AArch64 Ubuntu container with several days old tree to have all the tools buildable.
I did **not** test native builds (amd64 -> amd64), leaving it to CI.
r? @alexcrichton
2019-01-29 22:34:19 +00:00
Siddhartha Sahu
84a89aa666
Add link to the edition guide.
2019-01-29 17:30:49 -05:00
Jonas Schievink
0d314f08af
Add tracking issue to unstable attribute
2019-01-29 22:34:35 +01:00
Nikita Popov
4a4186e4d1
Use LLVM intrinsics for saturating add/sub
2019-01-29 22:32:13 +01:00
Jonas Schievink
b664341d91
Make weak_count return an Option<usize>
2019-01-29 21:58:17 +01:00
John Kåre Alsaker
0e2ad51e36
Fix tests
2019-01-29 21:10:36 +01:00
John Kåre Alsaker
9bdf054dc8
Only store the result of mir_borrowck for closures
2019-01-29 21:10:36 +01:00
John Kåre Alsaker
219f818c1b
Skip some test passes
2019-01-29 21:10:35 +01:00
John Kåre Alsaker
edf0cac94b
Use ensure for borrowck
2019-01-29 21:10:35 +01:00
John Kåre Alsaker
8d76060785
Add some time statements
2019-01-29 21:10:35 +01:00
John Kåre Alsaker
eb8fb53425
Use an ItemLikeVisitor for CheckTypeWellFormedVisitor
2019-01-29 21:10:34 +01:00
John Kåre Alsaker
2a4eeba70f
Make impl_wf_check incremental
2019-01-29 21:10:34 +01:00
John Kåre Alsaker
73b8f1d90c
Optimize match checking
2019-01-29 21:10:33 +01:00
John Kåre Alsaker
0c2bf6fe2a
Add an ensure() method to TyCtxt used to ensure queries are run
2019-01-29 21:10:33 +01:00
Jonas Schievink
7e0edb39ba
Implement a slightly racy sync::Weak::weak_count
2019-01-29 21:07:35 +01:00
Jonas Schievink
2fe3b3b486
Implement Weak::{strong_count, weak_count}
2019-01-29 21:07:35 +01:00
Denys Zariaiev
49931fda56
Use correct CI test image for WASM and NVPTX
2019-01-29 21:00:07 +01:00
Denys Zariaiev
3f624456e6
Provide PTXLinker with fallback to internal target-cpu
2019-01-29 20:55:09 +01:00
bors
c1c3c4e95b
Auto merge of #57808 - gnzlbg:ustdsimd, r=gnzlbg
...
Update stdsimd
This is the companion PR to https://github.com/rust-lang-nursery/stdsimd/pull/640
r? @alexcrichton
2019-01-29 19:40:51 +00:00
Denys Zariaiev
899d936dee
Merge NVPTX and WASM test images into test-various
2019-01-29 19:06:42 +01:00
bors
7425663011
Auto merge of #57901 - lqd:issue_57362, r=nikomatsakis
...
Add information to higher-ranked lifetimes conflicts error messages
Make these errors go through the new "placeholder error" code path, to have self tys displayed and make them hopefully less confusing.
Should fix #57362 .
r? @nikomatsakis — so we can iterate on the specific wording you wanted.
2019-01-29 16:58:15 +00:00
Alex Crichton
ce279a8e53
Attempt to debug 259 exit code on AppVeyor
...
Let's try to dig in a bit more and see where this is coming from, it
looks like AppVeyor is also unsure where this is coming from!
2019-01-29 07:45:54 -08:00
bors
ae1ba150a2
Auto merge of #57948 - Zoxc:parallel, r=michaelwoerister
...
Use multiple threads by default. Limits tests to one thread. Do some renaming.
r? @michaelwoerister
2019-01-29 13:32:13 +00:00