Skip to content

sync with rust-lang/rust #13

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 429 commits into from
Sep 2, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
429 commits
Select commit Hold shift + click to select a range
d891e70
typeck/pat.rs: extract `check_pat_lit`.
Centril Aug 24, 2019
d4afae9
typeck/pat.rs: extract `check_pat_range`.
Centril Aug 24, 2019
c16248d
typeck/pat.rs: extract `check_pat_ident`.
Centril Aug 24, 2019
3a51caa
typeck/pat.rs: extract `check_pat_tuple`.
Centril Aug 24, 2019
3de221a
typeck/pat.rs: extract `check_pat_box`.
Centril Aug 24, 2019
b4a4e71
typeck/pat.rs: extract `check_pat_ref`.
Centril Aug 24, 2019
f09f1a7
typeck/pat.rs: extract `check_pat_slice`.
Centril Aug 24, 2019
862bb38
typeck/pat.rs: simplify `check_pat_walk`.
Centril Aug 24, 2019
9d69783
typeck/pat.rs: `(*)` -> `(note_1)` for clarity.
Centril Aug 24, 2019
365ff62
Don't unwrap the result of `span_to_snippet`
matthewjasper Aug 24, 2019
eeba189
Auto merge of #63858 - matthiaskrgr:submodule_upd, r=oli-obk
bors Aug 24, 2019
65deeae
typeck/pat.rs: `check_pat_top` is the entry point.
Centril Aug 24, 2019
41e8aed
typeck/pat.rs: `check_pat_walk` -> `check_pat`.
Centril Aug 24, 2019
97986b5
typeck/pat.rs: some common imports.
Centril Aug 24, 2019
2ab69ae
typeck/pat.rs: extract `new_ref_ty`.
Centril Aug 24, 2019
729fbeb
typeck/pat.rs: extract diagnostics from `check_pat_slice`.
Centril Aug 24, 2019
25f605a
typeck/pat.rs: extract `error_field_already_bound`.
Centril Aug 24, 2019
ba2a784
typeck/pat.rs: extract `error_unmentioned_fields`.
Centril Aug 24, 2019
5fbfcd8
typeck/pat.rs: extract `error_inexistent_fields`.
Centril Aug 24, 2019
a4b3dbe
Improve the documentation for std::hint::black_box.
vext01 Jul 23, 2019
5299d8a
parser: extract `ban_unexpected_or_or`.
Centril Aug 18, 2019
1ba7550
parser: type alias `type Expected = Option<&'static str>;`.
Centril Aug 18, 2019
0bbea47
parser: refactor `parse_pat_with_or` + use it in [p0, p1, ..] pats.
Centril Aug 18, 2019
30b841d
parser: improve or-patterns recovery.
Centril Aug 18, 2019
d34ee76
parser: move `multiple-pattern-typo` -> `or-patterns` directory.
Centril Aug 18, 2019
5f57fee
parser: `multiple-pattern-typo`: cover more or-pattern places.
Centril Aug 18, 2019
f852c7c
parser: simplify `parse_pat_with_or`.
Centril Aug 18, 2019
21d9b85
parser: extract `maybe_recover_unexpected_comma`.
Centril Aug 18, 2019
a4a34ab
parser: integrate `maybe_recover_unexpected_comma` in `parse_pat_with…
Centril Aug 18, 2019
7b59b4f
parser: extract `eat_or_separator`.
Centril Aug 18, 2019
dc5bbaf
parser: improve `parse_pat_with_or` docs.
Centril Aug 18, 2019
6498959
parser: use `eat_or_separator` for leading vert.
Centril Aug 18, 2019
39f5e5b
parser: move `maybe_recover_unexpected_comma` to a more appropriate p…
Centril Aug 18, 2019
8f6a0cd
parser: document `ban_unexpected_or_or`.
Centril Aug 18, 2019
b7178ef
parser: `parse_pats` -> `parse_top_pat{_unpack}`.
Centril Aug 18, 2019
92d66a1
parser: document `parse_pat`.
Centril Aug 18, 2019
95792b4
parser: `let` stmts & `for` exprs: allow or-patterns.
Centril Aug 18, 2019
5f6bec8
parser: drive-by: simplify `parse_arg_general`.
Centril Aug 18, 2019
a9af18b
move `ui/or-pattern-mismatch` -> `ui/or-patterns/`.
Centril Aug 18, 2019
f35432e
or-patterns: add syntactic tests.
Centril Aug 18, 2019
d3b3bce
move `feature-gate-or_patterns.*` -> `ui/or-patterns/`
Centril Aug 18, 2019
1ffea18
or-patterns: harden feature gating tests.
Centril Aug 18, 2019
b205055
parser: better recovery for || in inner pats.
Centril Aug 19, 2019
b2966e6
parser: bool -> GateOr.
Centril Aug 24, 2019
a9ef859
parser: bool -> TopLevel.
Centril Aug 24, 2019
3a40542
parse_top_pat: silence leading vert gating sometimes.
Centril Aug 24, 2019
e374772
parser: extract recover_inner_leading_vert.
Centril Aug 24, 2019
0ab8430
parser: reword || recovery.
Centril Aug 24, 2019
3890bef
review comment
estebank Aug 24, 2019
4f75327
typeck/pat.rs: dedup in `check_pat_ref`.
Centril Aug 24, 2019
5a7e1cb
typeck/pat.rs: dedup in `check_pat_box`.
Centril Aug 24, 2019
1202cb0
parser: simplify parse_pat_with_or_{inner}
Centril Aug 24, 2019
083963e
parser: 'while parsing this or-pattern...'
Centril Aug 24, 2019
5761fc7
Rollup merge of #62744 - llogiq:tiny-list-refactor, r=eddyb
Centril Aug 25, 2019
ed8e13c
Rollup merge of #63813 - estebank:int-from, r=varkor
Centril Aug 25, 2019
3d4b113
Rollup merge of #63833 - estebank:suggest-closure-call, r=petrochenkov
Centril Aug 25, 2019
7059f05
Rollup merge of #63839 - oli-obk:intptrcast, r=RalfJung
Centril Aug 25, 2019
b0d374a
Rollup merge of #63854 - c410-f3r:attrs-visit, r=petrochenkov
Centril Aug 25, 2019
4d3d06a
Rollup merge of #63859 - matthewjasper:check-snippet-result, r=Centril
Centril Aug 25, 2019
9267119
Auto merge of #63873 - Centril:rollup-jgglypd, r=Centril
bors Aug 25, 2019
59c0633
Allow lifetime parameters to be inferred
spastorino Aug 24, 2019
717e8a5
Join arms patterns, body is empty in all arms
spastorino Aug 24, 2019
53f4734
Add a period at the end of the sentence
spastorino Aug 24, 2019
fbe3f3e
debuginfo: give unique names to closure and generator types
philipc Aug 25, 2019
1caaa40
parser: gracefully handle `fn foo(A | B: type)`.
Centril Aug 25, 2019
6a73199
or_patterns: add run-rustfix tests.
Centril Aug 25, 2019
acb1130
parser: TopLevel -> RecoverComma.
Centril Aug 25, 2019
783469c
Auto merge of #63862 - Centril:match-cleanup, r=oli-obk
bors Aug 25, 2019
d760df5
Auto merge of #63874 - spastorino:places-drive-by-cleanups, r=Centril
bors Aug 25, 2019
c9d9616
Introduce and use `Feature` type for feature gates
Aug 24, 2019
fcbbf8d
Fix system theme detection
GuillaumeGomez Aug 24, 2019
4f30d2a
submodules: update clippy from 2bcb6155948e2f8b86db08152a5f54bd5af625…
phansch Aug 25, 2019
92e75c0
factor wide ptr metadata checking into separate method
RalfJung Aug 25, 2019
96baf1c
validate raw wide pointers
RalfJung Aug 25, 2019
0c1cb32
test for too long slices
RalfJung Aug 25, 2019
b1522e6
Auto merge of #63878 - phansch:update_clippy_submodule, r=Manishearth
bors Aug 25, 2019
39412ca
Permit unwinding through FFI by default
Mark-Simulacrum Feb 28, 2019
d810e77
Revert "Allow a dirty MirBuilt for make_extern and make_method_extern"
cuviper Apr 2, 2019
367b793
Force #[unwind(aborts)] in test/codegen/c-variadic.rs
cuviper May 10, 2019
5b7df09
pprust: Do not print spaces before some tokens
petrochenkov Aug 25, 2019
94e8ff4
Refactor feature gate checking code
Aug 24, 2019
521d784
Auto merge of #61613 - sinkuu:impl_trait_inline, r=ollie27
bors Aug 25, 2019
8458eba
Point at method call on missing annotation error
estebank Aug 25, 2019
4c58535
Auto merge of #62603 - cuviper:no-unwind-abort, r=joshtriplett
bors Aug 26, 2019
e2b4165
Auto merge of #62891 - vext01:improve-black-box-docs, r=RalfJung,Cent…
bors Aug 26, 2019
555d7a2
Auto merge of #63580 - wesleywiser:move_promoted_out, r=oli-obk
bors Aug 26, 2019
c8a69e2
ty: use Align for ReprOptions pack and align.
hvenev Aug 26, 2019
9fa8f14
Auto merge of #63897 - petrochenkov:prettycomma, r=estebank
bors Aug 26, 2019
9b91b9c
Auto merge of #63901 - estebank:unknown-receiver-type, r=zackmdavis
bors Aug 26, 2019
fa7ea10
Error when generator trait is not found
tesuji Aug 26, 2019
ae78862
raw slices do not have to comply to the size limit
RalfJung Aug 26, 2019
633f67a
add link to FileCheck docs
RalfJung Aug 26, 2019
2bd27fb
parser: fix span for leading vert.
Centril Aug 26, 2019
04580b6
adjust tests
RalfJung Aug 26, 2019
7def99a
review comment
estebank Aug 26, 2019
ec45b87
resolve: Block expansion of a derive container until all its derives …
petrochenkov Aug 24, 2019
32e5acb
proc_macro: Turn `quote` into a regular built-in macro
petrochenkov Aug 19, 2019
44cfa78
Rollup merge of #63317 - estebank:dead-code, r=matthewjasper
Centril Aug 26, 2019
7dc3c93
Rollup merge of #63693 - Centril:polish-parse-or-pats, r=estebank
Centril Aug 26, 2019
9eeb7d5
Rollup merge of #63836 - Wind-River:master_003, r=alexcrichton
Centril Aug 26, 2019
59fa966
Rollup merge of #63845 - DevQps:47091-remove-bad-example, r=nikomatsakis
Centril Aug 26, 2019
b005a89
Rollup merge of #63855 - killercup:refactor/feature-gates, r=Centril
Centril Aug 26, 2019
9c5c124
Rollup merge of #63921 - RalfJung:file-check, r=alexcrichton
Centril Aug 26, 2019
52c62ea
Respect attributes on proc macro definitions
petrochenkov Aug 20, 2019
2065ee9
metadata: Eliminate `FullProcMacro`
petrochenkov Aug 20, 2019
c476b55
proc_macro: Update `Span::def_site` to use the proc macro definition …
petrochenkov Aug 20, 2019
a77247a
Move source HTML generation to own module
Mark-Simulacrum Aug 11, 2019
e2b6f4c
Move top-level Clean impl to function
Mark-Simulacrum Aug 12, 2019
57d57c6
Mutate DocContext from LibEmbargoVisitor and RustdocVisitor
Mark-Simulacrum Aug 12, 2019
95f5698
Remove dead tracking of external param names
Mark-Simulacrum Aug 12, 2019
0e079c2
Remove support for printing HRef in alternate mode
Mark-Simulacrum Aug 12, 2019
3307929
Store only the current depth
Mark-Simulacrum Aug 12, 2019
dafdfee
Inline RawMutableSpace
Mark-Simulacrum Aug 12, 2019
0444b9f
Auto merge of #63926 - Centril:rollup-6kckn9n, r=Centril
bors Aug 27, 2019
edfd555
Transition a few fmt::Display impls to functions
Mark-Simulacrum Aug 12, 2019
b3f0175
Inline recurse into only callsite
Mark-Simulacrum Aug 12, 2019
b0fab96
Shorten line during rendering instead of in markdown
Mark-Simulacrum Aug 12, 2019
61ff27a
debuginfo: always include disambiguator in type names
philipc Aug 27, 2019
6d20265
Rollup merge of #62600 - emmericp:libtest-add-show-output, r=gnzlbg
Centril Aug 27, 2019
68597c7
Rollup merge of #63698 - Phosphorus15:master, r=nagisa
Centril Aug 27, 2019
0da7098
Rollup merge of #63761 - petrochenkov:procattrs, r=eddyb
Centril Aug 27, 2019
23116ba
Rollup merge of #63917 - lzutao:langitem_gen_63912, r=centril,cramert
Centril Aug 27, 2019
7e0afda
Auto merge of #63940 - Centril:rollup-47qe9gn, r=Centril
bors Aug 27, 2019
5cc1559
token: refactor with is_non_raw_ident_where.
Centril Aug 27, 2019
e49b958
Simplify with Symbol/Token::is_book_lit.
Centril Aug 27, 2019
f908aa9
recover on 'mut ' and improve recovery for keywords.
Centril Aug 27, 2019
e0ce9f8
Cleanup: Consistently use `Param` instead of `Arg` #62426
kper Aug 27, 2019
0396aac
Auto merge of #63639 - Mark-Simulacrum:rustdoc-clean-3, r=GuillaumeGomez
bors Aug 27, 2019
98ad4ac
update miri
RalfJung Aug 27, 2019
935c1c8
rustbuild: allow disabling deny(warnings) for bootstrap
Keruspe Aug 27, 2019
97319b2
Changing error messages and renaming tests #63127
kper Aug 27, 2019
661141f
Fix build src/libtest
JohnTitor Aug 27, 2019
53df91a
Auto merge of #63922 - RalfJung:miri, r=nikomatsakis
bors Aug 27, 2019
c9bf5c0
bootstrap: allow specifying mirror for bootstrap compiler download.
crlf0710 Aug 27, 2019
dbbe336
Ensure 'let mut ;' where ':pat' is banned.
Centril Aug 27, 2019
7677d1f
const_prop: only call error_to_const_error if we are actually showing…
RalfJung Aug 27, 2019
1a4330d
rustc: Handle modules in "fat" LTO more robustly
alexcrichton Aug 27, 2019
85a4d6f
Update cargo
ehuss Aug 27, 2019
42e895d
Improve 'mut ' diagnostic.
Centril Aug 27, 2019
3d71803
Add default serialization for `Ident`s
matthewjasper Aug 24, 2019
82f2b37
Add Option<Span> to `require_lang_item`
JohnTitor Aug 27, 2019
8c921be
Apply review comments
JohnTitor Aug 27, 2019
ede7a77
Remove `sized` spans
JohnTitor Aug 27, 2019
b7178cb
Auto merge of #63960 - ehuss:update-cargo, r=alexcrichton
bors Aug 27, 2019
6f67bbc
or-pattern: fix typo in error message
tshepang Aug 28, 2019
42bd6fa
Prevent syntax error in ld linker version script
loganwendholt Aug 28, 2019
bbd48e6
Auto merge of #63127 - kper:pr, r=nikomatsakis
bors Aug 28, 2019
ac21131
Auto merge of #63820 - oli-obk:eager_const_eval, r=nikomatsakis
bors Aug 28, 2019
0006216
rustc_apfloat: make the crate #![no_std] explicitly.
eddyb Aug 28, 2019
06228d3
Save crate filtering on rustdoc
GuillaumeGomez Jul 24, 2019
cca64e7
Add some comments to `mir::Static` and `mir::StaticKind`
wesleywiser Aug 27, 2019
30b29ab
Simplify `maybe_get_optimized_mir` and `maybe_get_promoted_mir`
wesleywiser Aug 27, 2019
009cce8
Extract `Decoder::entry_unless_proc_macro()`
wesleywiser Aug 28, 2019
8cf3921
Notify me (flip1995) when Clippy toolstate changes
flip1995 Aug 28, 2019
bc91706
Update Clippy
flip1995 Aug 28, 2019
8e10725
Update rustfmt to 1.4.6
topecongiro Aug 28, 2019
c422372
Auto merge of #63853 - matthewjasper:test-ast-serialization, r=estebank
bors Aug 28, 2019
8fe65da
std: Remove the `wasm_syscall` feature
alexcrichton Jul 23, 2019
080fdb8
add missing `#[repr(C)]` on a union
DutchGhost Aug 28, 2019
17e73e8
Auto merge of #63875 - philipc:issue-57822, r=michaelwoerister
bors Aug 28, 2019
fdd8b96
Fixes #63976. Incorrect error message.
sam09 Aug 28, 2019
0414dfa
Auto merge of #62941 - GuillaumeGomez:save-crate-filter, r=Mark-Simul…
bors Aug 28, 2019
3571789
Update rust-installer to limit memory use
cuviper Aug 28, 2019
4c3e386
Allow running rustdoc on proc-macro crates without specifying '--crat…
Aaron1011 Aug 28, 2019
3476543
Auto merge of #62855 - Aaron1011:feature/rustdoc-reexport-final, r=pe…
bors Aug 29, 2019
4cae33a
Rollup merge of #63811 - estebank:impl-trait-arg, r=cramertj
Centril Aug 29, 2019
b6df827
Rollup merge of #63933 - wesleywiser:cleanup_from_move_promoted, r=ol…
Centril Aug 29, 2019
eb4ac32
Rollup merge of #63938 - tshepang:typo, r=Centril
Centril Aug 29, 2019
52c3846
Rollup merge of #63945 - Centril:recover-mut-pat, r=estebank
Centril Aug 29, 2019
99d271f
Rollup merge of #63958 - RalfJung:silence-const-prop, r=oli-obk
Centril Aug 29, 2019
d4757d5
Rollup merge of #63961 - JohnTitor:improve-require-lang-item, r=estebank
Centril Aug 29, 2019
f0e2895
Rollup merge of #63963 - Wind-River:master_003, r=alexcrichton
Centril Aug 29, 2019
1c4a9a9
Rollup merge of #63965 - loganwendholt:linker-script-fix, r=michaelwo…
Centril Aug 29, 2019
75c8c21
Rollup merge of #63968 - eddyb:apfloat-nostd, r=matthewjasper
Centril Aug 29, 2019
e3028db
Rollup merge of #63970 - flip1995:notify_clippy, r=oli-obk
Centril Aug 29, 2019
7391009
Rollup merge of #63980 - DutchGhost:master, r=cramertj
Centril Aug 29, 2019
ade191c
Small improvement for Ord implementation of integers
tesuji Aug 29, 2019
85ed538
Auto merge of #63990 - Centril:rollup-q1nt0b0, r=Centril
bors Aug 29, 2019
e4e6b01
Rollup merge of #63867 - petrochenkov:dhelpers, r=matthewjasper
Centril Aug 29, 2019
d2ba571
Rollup merge of #63880 - RalfJung:miri-meta, r=oli-obk
Centril Aug 29, 2019
2c28e02
Rollup merge of #63914 - hvenev:repr-fields, r=eddyb
Centril Aug 29, 2019
2b7f5ec
Rollup merge of #63941 - Keruspe:warnings, r=Mark-Simulacrum
Centril Aug 29, 2019
808722e
Rollup merge of #63949 - JohnTitor:fix-quick-build, r=Mark-Simulacrum
Centril Aug 29, 2019
c94ead7
Rollup merge of #63984 - cuviper:rust-installer-mem, r=Mark-Simulacrum
Centril Aug 29, 2019
3f05cf6
Rollup merge of #63992 - lzutao:integer-ord, r=nagisa
Centril Aug 29, 2019
7445622
Auto merge of #63998 - Centril:rollup-pfuwxz3, r=Centril
bors Aug 29, 2019
0e74246
Add missing links on AsRef trait
GuillaumeGomez Aug 29, 2019
1ea8fc5
Rollup merge of #62734 - GuillaumeGomez:hide-default-methods, r=Mark-…
Centril Aug 29, 2019
78e728e
Rollup merge of #63953 - crlf0710:bootstrap_mirroring, r=Mark-Simulacrum
Centril Aug 29, 2019
137564d
Rollup merge of #63956 - alexcrichton:fix-lto-all-cached, r=michaelwo…
Centril Aug 29, 2019
d920aa0
Rollup merge of #63979 - alexcrichton:remove-wasm-syscall, r=dtolnay
Centril Aug 29, 2019
fbdf1d2
Auto merge of #64000 - Centril:rollup-70s9ar3, r=Centril
bors Aug 29, 2019
72b2abf
Auto merge of #63971 - flip1995:clippyup, r=oli-obk
bors Aug 29, 2019
378c32b
Fix test.
sam09 Aug 29, 2019
56ab485
support rustdoc test from stdin to rustc
andjo403 Aug 27, 2019
b304cd0
Run doctests via out-of-process rustc
andjo403 Aug 29, 2019
c6e7f03
Merge oli-obk mail addresses
oli-obk Aug 15, 2019
26e9990
Add a "diagnostic item" scheme
oli-obk May 19, 2019
6978b94
Update tests
oli-obk Aug 30, 2019
c7d4df0
Auto merge of #60966 - oli-obk:diagnostic_items, r=eddyb
bors Aug 30, 2019
0f3e596
miri: detect too large dynamically sized objects
RalfJung Aug 27, 2019
235ee34
better variable names
RalfJung Aug 27, 2019
d75723e
mod-level doc comment for validity check
RalfJung Aug 30, 2019
19a38de
Auto merge of #63402 - estebank:strip-margin, r=oli-obk
bors Aug 30, 2019
38f6b96
make unions repr(C)
RalfJung Aug 30, 2019
cf57409
tweak const-valid test
RalfJung Aug 30, 2019
e7fed14
explain why REF_AS_USIZE is important
RalfJung Aug 30, 2019
6d86163
const-eval tests: make all unions repr(C)
RalfJung Aug 30, 2019
4240168
Update Clippy
flip1995 Aug 30, 2019
0f41401
Auto merge of #63827 - andjo403:out-of-process-rustc-in-rustdoc, r=Ma…
bors Aug 30, 2019
bb34749
add test
RalfJung Aug 30, 2019
ecca4b8
Auto merge of #64018 - flip1995:clippyup, r=oli-obk
bors Aug 30, 2019
4295eea
Auto merge of #63982 - sam09:fix-63976, r=estebank
bors Aug 30, 2019
0b478e6
rustdoc use -Ccodegen-units=1 by default for test compile
andjo403 Aug 30, 2019
c96a677
Rollup merge of #62957 - dns2utf8:doc_loop_keyword, r=GuillaumeGomez
Centril Aug 30, 2019
f6e43e8
Rollup merge of #63600 - rust-lang:oli-obk-patch-1, r=Mark-Simulacrum
Centril Aug 30, 2019
b76a558
Rollup merge of #63684 - GrayJack:const_list_new, r=Centril
Centril Aug 30, 2019
5f07ff7
Rollup merge of #63847 - GuillaumeGomez:system-theme-detection, r=kin…
Centril Aug 30, 2019
ac71a7f
Rollup merge of #63999 - GuillaumeGomez:as-ref-missing-links, r=Mark-…
Centril Aug 30, 2019
1dc8b23
Rollup merge of #64014 - RalfJung:miri-slice, r=oli-obk
Centril Aug 30, 2019
d997596
Rollup merge of #64015 - RalfJung:const-tests, r=oli-obk
Centril Aug 30, 2019
fd68d02
Auto merge of #64026 - Centril:rollup-le667lp, r=Centril
bors Aug 30, 2019
960ecdc
improper_ctypes: guard against accidental change to Unique<T>.
Centril Aug 29, 2019
78f62c6
Account for rounding errors when deciding the diagnostic boundaries
estebank Aug 31, 2019
2d851b3
Auto merge of #63975 - topecongiro:rustfmt-1.4.6, r=nikomatsakis
bors Aug 31, 2019
bf90154
Tweak terminal width trimming
estebank Aug 31, 2019
b314654
Auto merge of #63991 - Centril:unique-improper-ctype, r=rkruppe
bors Aug 31, 2019
444bc3c
Use span label instead of note for cause in E0631
estebank Aug 24, 2019
5384d55
Suggest call fn ctor passed as arg to fn with type param bounds
estebank Aug 24, 2019
7604eed
review comments: reword comment
estebank Aug 25, 2019
9d15b6f
fix rebase
estebank Aug 31, 2019
c621919
Kill borrows from assignments after generating new borrows
matthewjasper Aug 31, 2019
c8e4748
Update BufWriter example to include call to flush()
johnterickson Aug 9, 2019
cccce09
Add in generic type to description of BufReader and BufWriter
johnterickson Aug 9, 2019
1b94610
clarify that not all errors are observed
johnterickson Aug 12, 2019
e2e1175
Update sync condvar doc style
pickfire Aug 31, 2019
fba38ac
Auto merge of #64025 - Wind-River:master_003, r=alexcrichton
bors Aug 31, 2019
c4d0c28
Fix word repetition in str documentation
juliangehring Aug 31, 2019
59cc53e
Auto merge of #63703 - tommilligan:warn-empty-doctest, r=ollie27
bors Aug 31, 2019
aee6cd9
Fix nll tests
estebank Aug 31, 2019
8456719
Use saturating_sub
estebank Aug 31, 2019
d0677b9
Auto merge of #64036 - matthewjasper:kill-borrows-on-self-assign, r=e…
bors Sep 1, 2019
e553051
review comment
estebank Sep 1, 2019
064b704
Rollup merge of #63410 - johnterickson:master, r=joshtriplett
Centril Sep 1, 2019
bccf49f
Rollup merge of #64029 - estebank:fix-miri, r=RalfJung
Centril Sep 1, 2019
6eadfc3
Rollup merge of #64032 - andjo403:codegen-units, r=Mark-Simulacrum
Centril Sep 1, 2019
a7ba1be
Rollup merge of #64039 - pickfire:patch-1, r=jonas-schievink
Centril Sep 1, 2019
0211246
Rollup merge of #64042 - juliangehring:string-docs, r=jonas-schievink
Centril Sep 1, 2019
e29faf0
Auto merge of #64057 - Centril:rollup-nwtk2fb, r=Centril
bors Sep 1, 2019
dfd43f0
Auto merge of #63870 - estebank:async-fn-call, r=oli-obk
bors Sep 1, 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
  •  
  •  
  •  
22 changes: 16 additions & 6 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ Jason Toffaletti <[email protected]> Jason Toffaletti <[email protected]>
Jauhien Piatlicki <[email protected]> Jauhien Piatlicki <[email protected]>
Jay True <[email protected]>
Jeremy Letang <[email protected]>
Jeremy Stucki <[email protected]> <[email protected]>
Jeremy Stucki <[email protected]> <[email protected]>
Jeremy Stucki <[email protected]>
Jethro Beekman <[email protected]>
Jihyun Yu <[email protected]> <[email protected]>
Jihyun Yu <[email protected]> jihyun <[email protected]>
Expand Down Expand Up @@ -181,12 +184,19 @@ Neil Pankey <[email protected]> <[email protected]>
Nick Platt <[email protected]>
Nicole Mazzuca <[email protected]>
Nif Ward <[email protected]>
Oliver Schneider <[email protected]> oli-obk <[email protected]>
Oliver Schneider <[email protected]> Oliver 'ker' Schneider <[email protected]>
Oliver Schneider <[email protected]> Oliver Schneider <[email protected]>
Oliver Schneider <[email protected]> Oliver Schneider <[email protected]>
Oliver Schneider <[email protected]> Oliver Schneider <[email protected]>
Oliver Schneider <[email protected]> Oliver Schneider <[email protected]>
Oliver Scherer <[email protected]> <[email protected]>
Oliver Scherer <[email protected]> <[email protected]>
Oliver Scherer <[email protected]> <[email protected]>
Oliver Scherer <[email protected]> <[email protected]>
Oliver Scherer <[email protected]> <[email protected]>
Oliver Scherer <[email protected]> <[email protected]>
Oliver Scherer <[email protected]> <[email protected]>
Oliver Scherer <[email protected]> <[email protected]>
Oliver Scherer <[email protected]> <[email protected]>
Oliver Scherer <[email protected]> <[email protected]>
Oliver Scherer <[email protected]> <[email protected]>
Oliver Scherer <[email protected]> <[email protected]>
Oliver Scherer <[email protected]>
Ožbolt Menegatti <[email protected]> gareins <[email protected]>
Paul Faria <[email protected]> Paul Faria <[email protected]>
Peer Aramillo Irizar <[email protected]> parir <[email protected]>
Expand Down
101 changes: 66 additions & 35 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ dependencies = [
"serde",
"serde_json",
"time",
"toml 0.4.10",
"toml",
]

[[package]]
Expand All @@ -202,7 +202,7 @@ name = "build-manifest"
version = "0.1.0"
dependencies = [
"serde",
"toml 0.4.10",
"toml",
]

[[package]]
Expand Down Expand Up @@ -287,7 +287,7 @@ dependencies = [
"git2-curl",
"glob",
"hex",
"home 0.4.2",
"home 0.5.0",
"ignore",
"im-rc",
"jobserver",
Expand Down Expand Up @@ -316,7 +316,7 @@ dependencies = [
"tar",
"tempfile",
"termcolor",
"toml 0.5.3",
"toml",
"unicode-width",
"url 2.1.0",
"walkdir",
Expand Down Expand Up @@ -442,7 +442,7 @@ dependencies = [
"semver",
"serde",
"smallvec",
"toml 0.5.3",
"toml",
"unicode-normalization",
"url 2.1.0",
]
Expand Down Expand Up @@ -946,6 +946,7 @@ name = "error_index_generator"
version = "0.0.0"
dependencies = [
"rustdoc",
"walkdir",
]

[[package]]
Expand Down Expand Up @@ -1138,10 +1139,12 @@ dependencies = [

[[package]]
name = "getopts"
version = "0.2.19"
version = "0.2.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72327b15c228bfe31f1390f93dd5e9279587f0463836393c9df719ce62a3e450"
checksum = "14dbbfd5c71d70241ecf9e6f13737f7b5ce823821063188d7e46c41d371eebd5"
dependencies = [
"rustc-std-workspace-core",
"rustc-std-workspace-std",
"unicode-width",
]

Expand All @@ -1157,9 +1160,9 @@ dependencies = [

[[package]]
name = "git2"
version = "0.9.2"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8cb400360e8a4d61b10e648285bbfa919bbf9519d0d5d5720354456f44349226"
checksum = "327d698f86a7ebdfeb86a4238ccdb004828939d3a3555b6ead679541d14e36c0"
dependencies = [
"bitflags",
"libc",
Expand All @@ -1172,9 +1175,9 @@ dependencies = [

[[package]]
name = "git2-curl"
version = "0.10.1"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2293de73491c3dc4174c5949ef53d2cc037b27613f88d72032e3f5237247a7dd"
checksum = "cd6527e480187ce19aaf4fa6acfb7657b25628ce31cb8ffabdfca3bf731524c5"
dependencies = [
"curl",
"git2",
Expand Down Expand Up @@ -1279,9 +1282,9 @@ dependencies = [

[[package]]
name = "home"
version = "0.4.2"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "013e4e6e9134211bb4d6bf53dd8cfb75d9e2715cc33614b9c0827718c6fbe0b8"
checksum = "c07c315e106bd6f83f026a20ddaeef2706782e490db1dcdd37caad38a0e895b3"
dependencies = [
"scopeguard 1.0.0",
"winapi 0.3.6",
Expand Down Expand Up @@ -1579,9 +1582,9 @@ checksum = "b294d6fa9ee409a054354afc4352b0b9ef7ca222c69b8812cbea9e7d2bf3783f"

[[package]]
name = "libc"
version = "0.2.60"
version = "0.2.61"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d44e80633f007889c7eff624b709ab43c92d708caad982295768a7b13ca3b5eb"
checksum = "c665266eb592905e8503ba3403020f4b8794d26263f412ca33171600eca9a6fa"
dependencies = [
"rustc-std-workspace-core",
]
Expand All @@ -1601,9 +1604,9 @@ dependencies = [

[[package]]
name = "libgit2-sys"
version = "0.8.2"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4c179ed6d19cd3a051e68c177fbbc214e79ac4724fac3a850ec9f3d3eb8a5578"
checksum = "8c2078aec6f4b16d1b89f6a72e4f6eb1e75ffa85312023291e89c6d3087bc8fb"
dependencies = [
"cc",
"libc",
Expand Down Expand Up @@ -1665,9 +1668,9 @@ dependencies = [

[[package]]
name = "log"
version = "0.4.6"
version = "0.4.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c84ec4b527950aa83a329754b01dbe3f58361d1c5efacd1f6d68c494d08a17c6"
checksum = "14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7"
dependencies = [
"cfg-if",
]
Expand Down Expand Up @@ -1785,7 +1788,7 @@ dependencies = [
"serde_json",
"shlex",
"tempfile",
"toml 0.5.3",
"toml",
"toml-query",
]

Expand Down Expand Up @@ -1989,6 +1992,7 @@ dependencies = [
"compiletest_rs",
"directories",
"env_logger 0.6.0",
"getrandom",
"hex",
"log",
"num-traits",
Expand Down Expand Up @@ -2374,6 +2378,9 @@ dependencies = [
[[package]]
name = "proc_macro"
version = "0.0.0"
dependencies = [
"std",
]

[[package]]
name = "profiler_builtins"
Expand Down Expand Up @@ -2760,7 +2767,7 @@ dependencies = [
"tokio",
"tokio-process",
"tokio-timer",
"toml 0.5.3",
"toml",
"url 1.7.2",
"walkdir",
]
Expand Down Expand Up @@ -3062,6 +3069,13 @@ dependencies = [
"core",
]

[[package]]
name = "rustc-std-workspace-std"
version = "1.0.0"
dependencies = [
"std",
]

[[package]]
name = "rustc-workspace-hack"
version = "1.0.0"
Expand Down Expand Up @@ -3218,6 +3232,7 @@ dependencies = [
"rustc_data_structures",
"serialize",
"syntax_pos",
"term_size",
"termcolor",
"unicode-width",
]
Expand Down Expand Up @@ -3564,7 +3579,7 @@ dependencies = [

[[package]]
name = "rustfmt-nightly"
version = "1.4.4"
version = "1.4.6"
dependencies = [
"annotate-snippets",
"atty",
Expand All @@ -3590,7 +3605,7 @@ dependencies = [
"serde_json",
"structopt",
"term 0.6.0",
"toml 0.5.3",
"toml",
"unicode-segmentation",
"unicode-width",
"unicode_categories",
Expand Down Expand Up @@ -4067,6 +4082,10 @@ dependencies = [
[[package]]
name = "term"
version = "0.0.0"
dependencies = [
"core",
"std",
]

[[package]]
name = "term"
Expand All @@ -4089,6 +4108,17 @@ dependencies = [
"winapi 0.3.6",
]

[[package]]
name = "term_size"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9e5b9a66db815dcfd2da92db471106457082577c3c278d4138ab3e3b4e189327"
dependencies = [
"kernel32-sys",
"libc",
"winapi 0.2.8",
]

[[package]]
name = "termcolor"
version = "1.0.4"
Expand All @@ -4113,8 +4143,13 @@ dependencies = [
name = "test"
version = "0.0.0"
dependencies = [
"core",
"getopts",
"libc",
"panic_abort",
"panic_unwind",
"proc_macro",
"std",
"term 0.0.0",
]

Expand Down Expand Up @@ -4382,15 +4417,6 @@ dependencies = [
"tokio-reactor",
]

[[package]]
name = "toml"
version = "0.4.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "758664fc71a3a69038656bee8b6be6477d2a6c315a6b81f7081f591bffa4111f"
dependencies = [
"serde",
]

[[package]]
name = "toml"
version = "0.5.3"
Expand All @@ -4411,7 +4437,7 @@ dependencies = [
"is-match",
"lazy_static 1.3.0",
"regex",
"toml 0.5.3",
"toml",
"toml-query_derive",
]

Expand Down Expand Up @@ -4491,9 +4517,14 @@ checksum = "aa6024fc12ddfd1c6dbc14a80fa2324d4568849869b779f6bd37e5e4c03344d1"

[[package]]
name = "unicode-width"
version = "0.1.5"
version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "882386231c45df4700b275c7ff55b6f3698780a650026380e72dabe76fa46526"
checksum = "7007dbd421b92cc6e28410fe7362e2e0a2503394908f417b68ec8d1c364c4e20"
dependencies = [
"compiler_builtins",
"rustc-std-workspace-core",
"rustc-std-workspace-std",
]

[[package]]
name = "unicode-xid"
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ rustc-workspace-hack = { path = 'src/tools/rustc-workspace-hack' }
# here
rustc-std-workspace-core = { path = 'src/tools/rustc-std-workspace-core' }
rustc-std-workspace-alloc = { path = 'src/tools/rustc-std-workspace-alloc' }
rustc-std-workspace-std = { path = 'src/tools/rustc-std-workspace-std' }

[patch."https://github.com/rust-lang/rust-clippy"]
clippy_lints = { path = "src/tools/clippy/clippy_lints" }
5 changes: 0 additions & 5 deletions config.toml.example
Original file line number Diff line number Diff line change
Expand Up @@ -382,11 +382,6 @@
# This is the name of the directory in which codegen backends will get installed
#codegen-backends-dir = "codegen-backends"

# Flag indicating whether `libstd` calls an imported function to handle basic IO
# when targeting WebAssembly. Enable this to debug tests for the `wasm32-unknown-unknown`
# target, as without this option the test output will not be captured.
#wasm-syscall = false

# Indicates whether LLD will be compiled and made available in the sysroot for
# rustc to execute.
#lld = false
Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ cc = "1.0.35"
libc = "0.2"
serde = { version = "1.0.8", features = ["derive"] }
serde_json = "1.0.2"
toml = "0.4"
toml = "0.5"
lazy_static = "1.3.0"
time = "0.1"
petgraph = "0.4.13"
Expand Down
3 changes: 0 additions & 3 deletions src/bootstrap/bin/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
//! parent directory, and otherwise documentation can be found throughout the `build`
//! directory in each respective module.

// NO-RUSTC-WRAPPER
#![deny(warnings, rust_2018_idioms, unused_lifetimes)]

use std::env;

use bootstrap::{Config, Build};
Expand Down
8 changes: 3 additions & 5 deletions src/bootstrap/bin/rustc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
//! switching compilers for the bootstrap and for build scripts will probably
//! never get replaced.

// NO-RUSTC-WRAPPER
#![deny(warnings, rust_2018_idioms, unused_lifetimes)]

use std::env;
use std::ffi::OsString;
use std::io;
Expand Down Expand Up @@ -124,8 +121,9 @@ fn main() {

if env::var_os("RUSTC_DENY_WARNINGS").is_some() &&
env::var_os("RUSTC_EXTERNAL_TOOL").is_none() {
// When extending this list, search for `NO-RUSTC-WRAPPER` and add the new lints
// there as well, some code doesn't go through this `rustc` wrapper.
// When extending this list, add the new lints to the RUSTFLAGS of the
// build_bootstrap function of src/bootstrap/bootstrap.py as well as
// some code doesn't go through this `rustc` wrapper.
cmd.arg("-Dwarnings");
cmd.arg("-Drust_2018_idioms");
cmd.arg("-Dunused_lifetimes");
Expand Down
Loading