Skip to content

Sync to rust-lang/rust master #26

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

Merged
merged 97 commits into from
Sep 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
9bf5773
Fix `Stdio::piped` example code and lint
wchargin Sep 8, 2019
299d696
Stabilize `param_attrs` in Rust 1.39.0
c410-f3r Aug 29, 2019
144b845
Add long error explanation for E0312
GuillaumeGomez Sep 10, 2019
cf6a1fe
update ui tests
GuillaumeGomez Sep 12, 2019
6e5ada4
Add cmp::{min_by, min_by_key, max_by, max_by_key}
timvermeulen Aug 31, 2019
7217591
Simplify Iterator::{min_by, max_by} using cmp::{min_by, max_by}
timvermeulen Sep 14, 2019
194d357
Document `From` trait for `LhsExpr`
crgl Sep 3, 2019
cdd8055
Replace DiagnosticBuilder with Diagnostic when emitting error
Mark-Simulacrum Sep 7, 2019
0b586b4
Take Diagnostic in Handler::emit_diagnostic
Mark-Simulacrum Sep 7, 2019
2a3930d
Privatize DiagnosticBuilder constructors
Mark-Simulacrum Sep 7, 2019
998df0d
Remove Handler::cancel
Mark-Simulacrum Sep 7, 2019
b304e60
Remove Handler::{emit, emit_with_code}
Mark-Simulacrum Sep 7, 2019
2a767ee
Remove unused methods from Handler
Mark-Simulacrum Sep 7, 2019
4cc5aaa
Protect error handler fields with single lock
Mark-Simulacrum Sep 7, 2019
d95a776
don't record all intermediate adjustment types
nikomatsakis Sep 18, 2019
479ce39
Add explanation to type mismatch involving type params and assoc types
estebank Aug 26, 2019
9a447a2
replace boolean with lazy iteration
nikomatsakis Sep 19, 2019
e356983
make clear that `invalidate` just replaces with `default`
nikomatsakis Sep 19, 2019
b2c51c2
avoid generating drops for moved operands of calls
nikomatsakis Sep 19, 2019
8112f71
rustbuild: Turn down compression on exe installers
alexcrichton Sep 19, 2019
1ab5593
factor out pluralisation remains after #64280
Sep 19, 2019
fde8cfe
rustbuild: Turn down compression on msi installers
alexcrichton Sep 19, 2019
2655663
fix tests for 2018
nikomatsakis Sep 19, 2019
c78a009
whoops, only trigger this path for avoiding DROP, not StorageDead
nikomatsakis Sep 19, 2019
255dd3f
rustbuild: Improve output of `dist` step
alexcrichton Sep 19, 2019
1962d75
fix mir-opt tests
nikomatsakis Sep 19, 2019
77fd0a7
add a mir-opt test that we don't add the spurious drop
nikomatsakis Sep 19, 2019
3db2c13
Add Compatibility Notes to RELEASES.md for 1.38.0
XAMPPRocky Sep 19, 2019
97e58c0
Auto merge of #64584 - nikomatsakis:issue-64477-generator-capture-typ…
bors Sep 20, 2019
c3140ba
remove the extra comma after the match arm
Sep 20, 2019
633ad73
Update to LLVM 9.0.0
cuviper Sep 20, 2019
9cf9030
Allow using fn pointers in const fn behind const_fn_ptr gate
gnzlbg Sep 20, 2019
9f374da
Exempt extern "Rust" from improper_ctypes
cuviper Sep 20, 2019
c3f72d1
Fix the span used to suggest avoiding for-loop moves
cuviper Sep 20, 2019
5349e69
Auto merge of #64047 - timvermeulen:cmp_min_max_by, r=cuviper
bors Sep 21, 2019
8646c81
Rollup merge of #64010 - c410-f3r:stabilize-attrs-fn, r=Centril
Centril Sep 21, 2019
d7e511a
Rollup merge of #64136 - crgl:doc-from-parser-lhs, r=Centril
Centril Sep 21, 2019
d021dba
Rollup merge of #64342 - glorv:master, r=varkor
Centril Sep 21, 2019
a93c0da
Rollup merge of #64347 - GuillaumeGomez:E0312, r=oli-obk
Centril Sep 21, 2019
6da43dd
Rollup merge of #64621 - XAMPPRocky:relnotes, r=Mark-Simulacrum
Centril Sep 21, 2019
176e216
Rollup merge of #64632 - guanqun:patch-1, r=jonas-schievink
Centril Sep 21, 2019
6254d7a
Rollup merge of #64640 - Wind-River:master, r=alexcrichton
Centril Sep 21, 2019
1486b7f
Rollup merge of #64641 - cuviper:extern-rust-ctypes, r=estebank
Centril Sep 21, 2019
97ca073
Rollup merge of #64642 - cuviper:move-for-loop-snippet, r=varkor
Centril Sep 21, 2019
ed8b708
Auto merge of #64658 - Centril:rollup-9s3raz6, r=Centril
bors Sep 21, 2019
d434496
remove feature
gnzlbg Sep 21, 2019
9d4053f
revert error message changes
gnzlbg Sep 21, 2019
e001c5f
unify errors for tuple/struct variants
Sep 21, 2019
a2a57bc
Fixes #63962. Hint about missing tuple parentheses in patterns
sam09 Sep 19, 2019
53a6a2f
fully remove AstBuilder
matklad Sep 21, 2019
67d88f6
Remove constraints argument from path_all
Mark-Simulacrum Sep 21, 2019
13fee42
Rollup merge of #63907 - estebank:assoc-type-mismatch, r=oli-obk
Centril Sep 21, 2019
4580714
Rollup merge of #64615 - alexcrichton:smaller-exe, r=Mark-Simulacrum
Centril Sep 21, 2019
395ec06
Rollup merge of #64617 - alexcrichton:smaller-msi, r=Mark-Simulacrum
Centril Sep 21, 2019
ef86303
Rollup merge of #64618 - alexcrichton:improve-dist-output, r=Mark-Sim…
Centril Sep 21, 2019
b21ec22
Rollup merge of #64619 - sam09:fix-63962, r=Centril
Centril Sep 21, 2019
05d7ae2
Rollup merge of #64634 - cuviper:llvm-9.0.0, r=alexcrichton
Centril Sep 21, 2019
25bdd76
Rollup merge of #64635 - gnzlbg:const_fn_ptr, r=oli-obk
Centril Sep 21, 2019
7eac555
Rollup merge of #64660 - guanqun:unify-errors-for-tuple-struct, r=est…
Centril Sep 21, 2019
f0e69ff
Rollup merge of #64664 - matklad:remove-ast-builder, r=Mark-Simulacrum
Centril Sep 21, 2019
ea70fb7
Do not trigger unreachable lint in async body and Use span labels
estebank Sep 21, 2019
2aa9d29
Remove unused code
Mark-Simulacrum Sep 21, 2019
e41aa8c
Inline ty_infer
Mark-Simulacrum Sep 21, 2019
8417ac6
Inline attribute constructors
Mark-Simulacrum Sep 21, 2019
3e6b844
Propagate `types.err` in locals further to avoid spurious knock-down …
estebank Sep 21, 2019
9991d54
review comments
estebank Sep 21, 2019
60560bc
Parse assoc type bounds in generic params and provide custom diagnostic
estebank Sep 22, 2019
c3d7917
remove outdated comment
tshepang Sep 22, 2019
daed674
review comments
estebank Sep 22, 2019
0f2f16d
review comments: wording
estebank Sep 22, 2019
ef906d0
Auto merge of #64666 - Centril:rollup-tp98vlr, r=Centril
bors Sep 22, 2019
3f2855e
Infer consts consistently. Moved some logic into super_combined_consts,
skinnyBat Sep 22, 2019
4ff32c0
Auto merge of #64669 - estebank:unreachable, r=Centril
bors Sep 22, 2019
bbce971
Update clippy
tesuji Sep 19, 2019
d06de5d
Update rls to fix build error
tesuji Sep 21, 2019
ad4787a
Clarify the "since" tidy check
Centril Sep 22, 2019
b370c11
On obligation errors point at the unfulfilled binding when possible
estebank Sep 4, 2019
c9d05aa
Point at correct span for parenthesized types
estebank Sep 5, 2019
b214085
review comments
estebank Sep 5, 2019
f81734b
ignore musl target in tests to avoid issues with output differences
estebank Sep 16, 2019
4e0437e
Fix rebase
estebank Sep 18, 2019
4be51c8
Point at type param when it's cause of unfulfilled obligation
estebank Sep 20, 2019
d201e27
review comments
estebank Sep 20, 2019
3ea0d10
hack to avoid incorrect suggestion
estebank Sep 20, 2019
7cef8b3
ignore-x86 instead of ignore-musl
estebank Sep 21, 2019
1dd1884
Auto merge of #64604 - lzutao:clippyup, r=oli-obk
bors Sep 22, 2019
ff75124
fix nll tests
estebank Sep 22, 2019
c0b7e71
Auto merge of #64151 - estebank:binding-error, r=varkor
bors Sep 22, 2019
7894bc8
Rollup merge of #64294 - wchargin:wchargin-stdio-piped-docs, r=Dylan-DPC
Centril Sep 22, 2019
da58e11
Rollup merge of #64670 - Mark-Simulacrum:ext-build-simplify, r=petroc…
Centril Sep 22, 2019
b66e732
Rollup merge of #64674 - estebank:knock-down-the-wall, r=Centril
Centril Sep 22, 2019
cb449d2
Rollup merge of #64676 - estebank:assoc-type-bound-in-generic, r=petr…
Centril Sep 22, 2019
091b7c3
Rollup merge of #64677 - tshepang:outdated, r=Mark-Simulacrum
Centril Sep 22, 2019
78d715f
Rollup merge of #64679 - skinny121:const-infer, r=varkor
Centril Sep 22, 2019
55df97c
Rollup merge of #64688 - rust-lang:clarify-tidy-since, r=alexreg
Centril Sep 22, 2019
b6716a1
Auto merge of #64695 - Centril:rollup-t1xnl2c, r=Centril
bors Sep 23, 2019
66bf391
Auto merge of #64272 - Mark-Simulacrum:parallel-handler, r=estebank
bors Sep 23, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
[submodule "src/llvm-project"]
path = src/llvm-project
url = https://github.com/rust-lang/llvm-project.git
branch = rustc/9.0-2019-07-12
branch = rustc/9.0-2019-09-19
[submodule "src/doc/embedded-book"]
path = src/doc/embedded-book
url = https://github.com/rust-embedded/book.git
30 changes: 21 additions & 9 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ dependencies = [
"itertools 0.8.0",
"lazy_static 1.3.0",
"matches",
"pulldown-cmark",
"pulldown-cmark 0.6.0",
"quine-mc_cluskey",
"regex-syntax",
"semver",
Expand Down Expand Up @@ -1637,7 +1637,7 @@ dependencies = [
"num_cpus",
"tokio",
"tokio-codec",
"unicase 2.4.0",
"unicase 2.5.1",
]

[[package]]
Expand Down Expand Up @@ -1875,7 +1875,7 @@ dependencies = [
"log",
"memchr",
"open",
"pulldown-cmark",
"pulldown-cmark 0.5.3",
"regex",
"serde",
"serde_derive",
Expand All @@ -1897,7 +1897,7 @@ dependencies = [
"log",
"mdbook",
"memchr",
"pulldown-cmark",
"pulldown-cmark 0.5.3",
"rayon",
"regex",
"reqwest",
Expand Down Expand Up @@ -1957,7 +1957,7 @@ version = "0.3.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3e27ca21f40a310bd06d9031785f4801710d566c184a6e15bad4f1d9b65f9425"
dependencies = [
"unicase 2.4.0",
"unicase 2.5.1",
]

[[package]]
Expand Down Expand Up @@ -2561,7 +2561,19 @@ dependencies = [
"bitflags",
"getopts",
"memchr",
"unicase 2.4.0",
"unicase 2.5.1",
]

[[package]]
name = "pulldown-cmark"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "85b0ad0d4c1702965ee6bb5b4ff5e71f83850b497d497e9444302987bf9e26a4"
dependencies = [
"bitflags",
"getopts",
"memchr",
"unicase 2.5.1",
]

[[package]]
Expand Down Expand Up @@ -3732,7 +3744,7 @@ name = "rustdoc"
version = "0.0.0"
dependencies = [
"minifier",
"pulldown-cmark",
"pulldown-cmark 0.5.3",
"rustc-rayon",
"tempfile",
]
Expand Down Expand Up @@ -4739,9 +4751,9 @@ dependencies = [

[[package]]
name = "unicase"
version = "2.4.0"
version = "2.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a84e5511b2a947f3ae965dcb29b13b7b1691b6e7332cf5dbc1744138d5acb7f6"
checksum = "2e2e6bd1e59e56598518beb94fd6db628ded570326f0a98c679a304bd9f00150"
dependencies = [
"version_check",
]
Expand Down
9 changes: 9 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ Misc
- [`rustc` will now warn about some incorrect uses of
`mem::{uninitialized, zeroed}` that are known to cause undefined behaviour.][63346]

Compatibility Notes
-------------------
- Unfortunately the [`x86_64-unknown-uefi` platform can not be built][62785]
with rustc 1.39.0.
- The [`armv7-unknown-linux-gnueabihf` platform is also known to have
issues][62896] for certain crates such as libc.

[60260]: https://github.com/rust-lang/rust/pull/60260/
[61457]: https://github.com/rust-lang/rust/pull/61457/
[61491]: https://github.com/rust-lang/rust/pull/61491/
Expand All @@ -79,7 +86,9 @@ Misc
[62735]: https://github.com/rust-lang/rust/pull/62735/
[62766]: https://github.com/rust-lang/rust/pull/62766/
[62784]: https://github.com/rust-lang/rust/pull/62784/
[62785]: https://github.com/rust-lang/rust/issues/62785/
[62814]: https://github.com/rust-lang/rust/pull/62814/
[62896]: https://github.com/rust-lang/rust/issues/62896/
[63000]: https://github.com/rust-lang/rust/pull/63000/
[63056]: https://github.com/rust-lang/rust/pull/63056/
[63107]: https://github.com/rust-lang/rust/pull/63107/
Expand Down
Loading