Skip to content

Master update 28 05 2020 #31

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 10,000 commits into from
May 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
a05acbf
Comment flock usage on Linux
nbdd0121 May 21, 2020
963bf52
Auto merge of #70705 - lcnr:generic_discriminant, r=nikomatsakis
bors May 21, 2020
f509862
Bail out if new return place has different type than old
ecstatic-morse May 21, 2020
7f79e98
Auto merge of #72205 - ecstatic-morse:nrvo, r=oli-obk
bors May 21, 2020
20b499c
Fix anchor display when hovering impl
GuillaumeGomez May 21, 2020
25028ad
Rollup merge of #71854 - eduardosm:assoc-char-funcs-and-consts, r=Ama…
RalfJung May 21, 2020
e2c05d1
Rollup merge of #72111 - petrochenkov:docstrip, r=ehuss
RalfJung May 21, 2020
e279bd5
Rollup merge of #72272 - GuillaumeGomez:fix-back-on-page-with-search-…
RalfJung May 21, 2020
85d712c
Rollup merge of #72296 - ChrisDenton:msvc-link-check, r=petrochenkov
RalfJung May 21, 2020
4f9fe91
Rollup merge of #72365 - marmeladema:remove-node_to_hir_id, r=ecstati…
RalfJung May 21, 2020
0e88712
Rollup merge of #72371 - Elrendio:char_documentation, r=steveklabnik
RalfJung May 21, 2020
e5a4550
Rollup merge of #72397 - petrochenkov:tiny, r=Amanieu
RalfJung May 21, 2020
06c9fef
Auto merge of #72422 - RalfJung:rollup-u81z4mw, r=RalfJung
bors May 21, 2020
94aa028
fix discriminant sign extension
RalfJung May 21, 2020
148c125
Auto merge of #71718 - NeoRaider:ffi_const_pure, r=Amanieu
bors May 21, 2020
5728c53
Use `HirId` as key for `ResolverOutputs::trait_map` instead of `NodeId`
marmeladema May 20, 2020
3c5dba7
Use `HirId` in value of `ResolverOutputs::trait_map` instead of `NodeId`
marmeladema May 20, 2020
52359f7
Use `HirId` in `ResolverOutputs::export_map` instead of `NodeId`
marmeladema May 20, 2020
13c86f2
Use `LocalDefId` in `ResolverOutputs::maybe_unused_trait_imports` ins…
marmeladema May 20, 2020
25f575b
Use `DefId` in `ResolverOutputs::maybe_unused_extern_crates` instead …
marmeladema May 20, 2020
21f65ae
Use `DefId` in `ResolverOutputs::glob_map` instead of `NodeId`
marmeladema May 20, 2020
8ff6ffd
Use `DefId` in `ResolverOutputs::extern_crate_map` instead of `NodeId`
marmeladema May 20, 2020
4c4cb46
Use `collect()` instead of manually inserting elements into maps
marmeladema May 21, 2020
f31e076
Replace unecessary calls to `.clone()` by argument binding pattern fo…
marmeladema May 21, 2020
a81e9a7
Improve documentation of `slice::from_raw_parts`
danielhenrymantilla May 19, 2020
67e0755
Typo
RalfJung May 21, 2020
9310e3b
Auto merge of #71930 - Nadrieril:exhaustiveness-remove-tyerr, r=varkor
bors May 21, 2020
d0a48d1
rustllvm: Fix warnings about unused function parameters
petrochenkov May 21, 2020
22438fc
Rollup merge of #72055 - lcnr:predicate-kind, r=nikomatsakis
RalfJung May 21, 2020
dc65fd4
Rollup merge of #72149 - estebank:icemation, r=eddyb
RalfJung May 21, 2020
3d5f130
Rollup merge of #72347 - xliiv:72340-impl-for-default, r=GuillaumeGomez
RalfJung May 21, 2020
261505a
Rollup merge of #72350 - danielhenrymantilla:doc_warn_against_adjacen…
RalfJung May 21, 2020
503a2fd
Rollup merge of #72382 - tmiasko:config-toml-debug-assertions, r=niko…
RalfJung May 21, 2020
fc729d0
Rollup merge of #72421 - GuillaumeGomez:fix-impl-hover-anchor, r=kinn…
RalfJung May 21, 2020
74b5c50
Rollup merge of #72425 - RalfJung:discr-sign-ext, r=nikomatsakis
RalfJung May 21, 2020
93abdd7
Add some teams to prioritization exclude_labels
spastorino May 20, 2020
4a10f6c
Enable ARM TME (Transactional Memory Extensions)
vertexclique May 21, 2020
d9417b3
Auto merge of #72433 - RalfJung:rollup-srft8nx, r=RalfJung
bors May 21, 2020
e9fed69
Impl Ord for proc_macro::LineColumn
dtolnay May 22, 2020
5a4bf44
Add test for proc_macro::LineColumn
dtolnay May 22, 2020
458a3e7
Auto merge of #71956 - ecstatic-morse:remove-requires-storage-analysi…
bors May 22, 2020
47cc221
add mcve for issue 72442
csmoe May 22, 2020
7cdc897
only try to suggest for try trait_ref
csmoe May 22, 2020
d24ba6d
Perform MIR NRVO even if types don't match
ecstatic-morse May 22, 2020
6a3aae8
Add flag to open docs: x.py doc --open
dtolnay May 22, 2020
c60b675
Auto merge of #72000 - cuviper:dist-llvm, r=Mark-Simulacrum
bors May 22, 2020
407958a
Replace obligation construction with deref_steps()
ldm0 May 17, 2020
a819f42
Rollup merge of #71607 - RalfJung:pin-drop-panic, r=nikomatsakis
RalfJung May 22, 2020
ee0c7d4
Rollup merge of #72125 - tshepang:broken-link, r=nikomatsakis
RalfJung May 22, 2020
715f1e8
Rollup merge of #72133 - bdbai:master, r=joshtriplett
RalfJung May 22, 2020
0eba152
Rollup merge of #72304 - petrochenkov:sgxunwind, r=nikomatsakis,jethr…
RalfJung May 22, 2020
afbbb86
Rollup merge of #72309 - petrochenkov:linkunspec, r=matthewjasper
RalfJung May 22, 2020
64beaff
Rollup merge of #72438 - vertexclique:vcq/aarch64-tme-features, r=Ama…
RalfJung May 22, 2020
52bb09a
Rewrite `Parser::collect_tokens`
Aaron1011 May 19, 2020
de6060b
Auto merge of #72458 - RalfJung:rollup-g1w1vws, r=RalfJung
bors May 22, 2020
16ba3e1
bless issue-72442
csmoe May 22, 2020
e776121
Using `!span.from_expansion()` instead of snippets
kper May 22, 2020
9ff5020
Add core::future::IntoFuture
yoshuawuyts May 22, 2020
2059112
Rollup merge of #71610 - divergentdave:InvalidUndefBytes-range, r=Ral…
RalfJung May 22, 2020
a8018e2
Rollup merge of #72161 - nbdd0121:master, r=cuviper
RalfJung May 22, 2020
62d4e9e
Rollup merge of #72306 - Aaron1011:feature/turbo-spacing, r=petrochenkov
RalfJung May 22, 2020
1119421
Rollup merge of #72325 - alexcrichton:ignore-linker-plugin-lto, r=nne…
RalfJung May 22, 2020
a9ca1ec
Auto merge of #72460 - RalfJung:rollup-28fs06y, r=RalfJung
bors May 22, 2020
6e5cb37
Clean up E0600 explanation
GuillaumeGomez May 22, 2020
985ebf2
Clean up E0590 explanation
GuillaumeGomez May 15, 2020
fc0675b
Allow using `Self::` in doc
May 22, 2020
9c34481
Rollup merge of #71829 - kper:issue71136, r=matthewjasper
RalfJung May 22, 2020
53d0046
Rollup merge of #72123 - jsgf:stabilize-arg0, r=sfackler
RalfJung May 22, 2020
02eb002
Rollup merge of #72235 - GuillaumeGomez:cleanup-E0590, r=Dylan-DPC
RalfJung May 22, 2020
f7ed13b
Rollup merge of #72345 - GuillaumeGomez:cleanup-e0593, r=Dylan-DPC
RalfJung May 22, 2020
a116e7b
Rollup merge of #72376 - wesleywiser:record_cgu_name, r=Mark-Simulacrum
RalfJung May 22, 2020
37587af
Rollup merge of #72399 - Lucretiel:ipv4-display-fast, r=kennytm
RalfJung May 22, 2020
e7503ca
Rollup merge of #72435 - petrochenkov:cratetypesopt, r=Mark-Simulacrum
RalfJung May 22, 2020
dc4b9fd
Allow rust-highfive to label issues it creates.
Elinvynia May 20, 2020
215f2d3
Auto merge of #72464 - RalfJung:rollup-xhm7w7u, r=RalfJung
bors May 22, 2020
01630b2
Implement `Sync` for `process::Command on unix and vxworks
LeSeulArtichaut May 22, 2020
33f90f2
Check for upper bound universe errors more carefully
matthewjasper May 19, 2020
187bfb3
Improve the error when an opaque type captures ReEmtpty
matthewjasper May 19, 2020
c102312
Remove the parts of regionck referencing ReScope
matthewjasper May 19, 2020
07b1de4
Report error from opener in bootstrap
dtolnay May 22, 2020
7d73e4c
Remove ReScope
matthewjasper May 19, 2020
52d628f
Remove unused error reporting code
matthewjasper May 19, 2020
3d8a073
Remove dead ScopeTree code
matthewjasper May 19, 2020
f9f3063
Update tests
matthewjasper May 20, 2020
9754b3f
Document `collect_bounding_regions`
matthewjasper May 21, 2020
4b51627
Revert MSYS2 CI workaround
mati865 May 22, 2020
7a4c186
Move functions to librustc_parse
Aaron1011 May 20, 2020
2af0218
Recursively expand nonterminals
Aaron1011 May 20, 2020
30c00fd
Add test for macro_rules! invoking a proc-macro with capture groups
Aaron1011 May 20, 2020
5685e4d
Fix rebase fallout
Aaron1011 May 22, 2020
dd78839
Rollup merge of #71289 - xliiv:70802-intra-self, r=GuillaumeGomez
Dylan-DPC May 22, 2020
47f3c44
Rollup merge of #72375 - GuillaumeGomez:cleanup-e0599, r=Dylan-DPC
Dylan-DPC May 22, 2020
84fbbde
Rollup merge of #72385 - spastorino:add-exclude-labels, r=Mark-Simula…
Dylan-DPC May 22, 2020
01adfe1
Rollup merge of #72395 - Elinvynia:highfive, r=Mark-Simulacrum
Dylan-DPC May 22, 2020
3083ce7
Rollup merge of #72453 - dtolnay:open, r=Mark-Simulacrum
Dylan-DPC May 22, 2020
141ce5f
Rollup merge of #72459 - yoshuawuyts:into-future, r=nikomatsakis
Dylan-DPC May 22, 2020
bf1b998
Rollup merge of #72461 - GuillaumeGomez:cleanup-e0600, r=Dylan-DPC
Dylan-DPC May 22, 2020
9f82785
Replace `rustc_data_structures::sync::Once` with `OnceCell`
ecstatic-morse May 16, 2020
c282c1c
Use `OnceCell` instead of `Once`
ecstatic-morse May 16, 2020
f17e2c9
Use `OnceCell` for predecessor cache
ecstatic-morse May 16, 2020
307153e
Switch to non-doc comment
ecstatic-morse May 16, 2020
730c6f3
Preserve substitutions when trying to prove trait obligation
ecstatic-morse Apr 27, 2020
8ea828b
Add regression test for #71394
ecstatic-morse Apr 27, 2020
4d9e9c6
Bless other example of #71394
ecstatic-morse Apr 27, 2020
d2bacb1
Ensure that `new_self_ty` has no escaping bound vars
ecstatic-morse Apr 28, 2020
7278e29
Document invariants of `mk_trait_obligation_with_new_self_ty`
ecstatic-morse May 18, 2020
f99519b
Bail out if `output_ty` has bound variables
ecstatic-morse May 18, 2020
1fad3b7
Use `mk_trait_obligation_with_new_self_ty` for new suggestion
ecstatic-morse May 18, 2020
d277904
Remove `macro_defs` map
Aaron1011 May 22, 2020
7f940ef
Auto merge of #72256 - ecstatic-morse:once-cell, r=Mark-Simulacrum
bors May 23, 2020
e04baed
Fix ice-72487
nbdd0121 May 23, 2020
75b0a68
Auto merge of #72478 - Dylan-DPC:rollup-vval8du, r=Dylan-DPC
bors May 23, 2020
58fe05a
Add test for #69415
JohnTitor May 23, 2020
47e35cb
Add test for #72455
JohnTitor May 23, 2020
647ae50
take predicates by value instead of by reference
lcnr May 23, 2020
da57ced
iterate List by value
lcnr May 23, 2020
810dbf7
take mir::PlaceElem by value
lcnr May 23, 2020
749d9e7
Correct small typo: 'not' -> 'note'
shepmaster May 23, 2020
1c9b96b
add warning sign to UB examples
RalfJung May 21, 2020
89aac16
fix discriminant type in generator transform
RalfJung May 23, 2020
b388f96
bless mir-opt tests
RalfJung May 23, 2020
f15e4b3
fix Predicate perf regression
lcnr May 23, 2020
b24030f
Rollup merge of #72292 - ldm0:derefsteps, r=estebank
Dylan-DPC May 23, 2020
d5e3009
Rollup merge of #72431 - RalfJung:ub-warning, r=shepmaster
Dylan-DPC May 23, 2020
67759b7
Rollup merge of #72446 - dtolnay:ord, r=petrochenkov
Dylan-DPC May 23, 2020
e91897d
Rollup merge of #72492 - JohnTitor:add-tests, r=matthewjasper
Dylan-DPC May 23, 2020
a03bf3f
Rollup merge of #72496 - shepmaster:typo, r=Dylan-DPC
Dylan-DPC May 23, 2020
8970e8b
Auto merge of #72504 - Dylan-DPC:rollup-6wi1ifz, r=Dylan-DPC
bors May 23, 2020
8da4942
Add missing ASM arena declaration to librustc_middle
Aaron1011 May 20, 2020
4774f9b
Auto merge of #72474 - mati865:ci-fix, r=pietroalbini
bors May 23, 2020
ff48fc9
Rollup merge of #71618 - ecstatic-morse:issue-71394, r=nikomatsakis
Dylan-DPC May 23, 2020
238a0ce
Rollup merge of #72092 - workingjubilee:patch-2, r=GuillaumeGomez
Dylan-DPC May 23, 2020
3948e60
Rollup merge of #72400 - Aaron1011:fix/asm-incr-ice, r=Amanieu
Dylan-DPC May 23, 2020
ee92ddf
Rollup merge of #72489 - nbdd0121:issue-72487, r=Amanieu
Dylan-DPC May 23, 2020
1e79144
Rollup merge of #72502 - RalfJung:generator-discr-ty, r=jonas-schievink
Dylan-DPC May 23, 2020
82b4fc4
small select cleanup
lcnr May 23, 2020
fbc6f2c
make some cast helpers infallible
RalfJung Apr 14, 2020
3137f8e
Auto merge of #72516 - Dylan-DPC:rollup-cc4w96z, r=Dylan-DPC
bors May 24, 2020
2359299
Clear MIR local type annotations after borrowck
jonas-schievink May 24, 2020
52b605c
Auto merge of #72362 - matthewjasper:remove-rescope, r=nikomatsakis
bors May 24, 2020
fb848a6
Rollup merge of #72388 - Aaron1011:fix/deep-tokenstream-equality, r=p…
RalfJung May 24, 2020
6cb1c0e
Rollup merge of #72517 - lcnr:refactor-winnowing, r=jonas-schievink
RalfJung May 24, 2020
b97ed1a
Miri casts: do not blindly rely on dest type
RalfJung May 24, 2020
7a121ad
bootstrap: propagate test-args to miri and clippy test suites
RalfJung May 24, 2020
7726070
Auto merge of #72524 - RalfJung:rollup-s9f1pcc, r=RalfJung
bors May 24, 2020
806f581
Fix typo in doc comment.
emosenkis May 24, 2020
94d96b1
Rollup merge of #72284 - Aaron1011:feature/inline-macro-did, r=petroc…
RalfJung May 24, 2020
8692c45
Rollup merge of #72393 - Aaron1011:feature/rewrite-collect-tokens, r=…
RalfJung May 24, 2020
e2e3aac
Rollup merge of #72528 - emosenkis:patch-1, r=dtolnay
RalfJung May 24, 2020
2220eb4
Clean up E0602 explanation
GuillaumeGomez May 24, 2020
94fcccc
Auto merge of #72529 - RalfJung:rollup-ydthv90, r=RalfJung
bors May 24, 2020
d1f4796
Use `dyn` trait syntax in more comments and docs
ratijas May 24, 2020
df2f9a4
Use sort_unstable_by in its own docs
saschanaz May 24, 2020
b9b1554
Fix unsizing casts
RalfJung May 24, 2020
9b87f40
bump Miri
RalfJung May 24, 2020
be2fd61
Fix InlineAsmOperand expresions being visited twice during liveness c…
Amanieu May 24, 2020
245ebc7
Removed all instances of const_field.
rakshith-ravi May 24, 2020
ff991d6
Auto merge of #72531 - RalfJung:miri-upd, r=RalfJung
bors May 24, 2020
95c4583
Rollup merge of #72402 - marmeladema:resolver-outputs-def-id, r=ecsta…
RalfJung May 24, 2020
a75068a
Rollup merge of #72527 - RalfJung:miri-clippy-test-args, r=Mark-Simul…
RalfJung May 24, 2020
cdeef96
Rollup merge of #72530 - GuillaumeGomez:cleanup-e0602, r=Dylan-DPC
RalfJung May 24, 2020
67b4e2b
Rollup merge of #72532 - ratijas:dyn-trait-object-doc, r=jonas-schievink
RalfJung May 24, 2020
134a165
Rollup merge of #72535 - saschanaz:patch-1, r=jonas-schievink
RalfJung May 24, 2020
7b98552
use helper method for determining size of int type
RalfJung May 24, 2020
8b5ba4a
comment nit
RalfJung May 24, 2020
c3edb15
librustc_middle: Rename upvars query to upvars_mentioned
arora-aman May 23, 2020
46e85b4
Auto merge of #72539 - RalfJung:rollup-8yfidi8, r=RalfJung
bors May 24, 2020
14382c6
Collect tokens for `ast::Expr`
Aaron1011 May 19, 2020
ebc7eda
perf: Add inline on commonly used methods added in 69464
May 24, 2020
62da38d
Auto merge of #72287 - Aaron1011:feature/min-token-collect, r=petroch…
bors May 24, 2020
698df11
First draft documenting Debug stability.
alilleybrinker May 24, 2020
2679c38
Auto merge of #72472 - LeSeulArtichaut:sync-command, r=dtolnay
bors May 25, 2020
3fcb0f4
Enable `glacier` command via triagebot
JohnTitor May 25, 2020
997d953
Auto merge of #72520 - jonas-schievink:cleanup-userty, r=matthewjasper
bors May 25, 2020
d59fa08
fix ICE when debug-printing MIR
RalfJung May 25, 2020
4e4b1ed
Add test for old compiler ICE when using `Borrow`
rossmacarthur May 25, 2020
b27e649
add a lint against references to packed fields
RalfJung May 16, 2020
c79535e
remove some unused types from the tests
RalfJung May 16, 2020
bf816e0
Rollup merge of #71940 - SimonSapin:nonnull-slice, r=kennytm
RalfJung May 25, 2020
4a5a655
Rollup merge of #72525 - RalfJung:miri-cast-checks, r=eddyb
RalfJung May 25, 2020
14941cf
Rollup merge of #72537 - Amanieu:fix-asm-liveness, r=petrochenkov
RalfJung May 25, 2020
4f4b716
Rollup merge of #72544 - sexxi-goose:upvars_mentioned, r=matthewjasper
RalfJung May 25, 2020
7c9fdb3
Rollup merge of #72551 - alilleybrinker:document-debug-stability, r=K…
RalfJung May 25, 2020
061773f
more test ref-to-packed tests
RalfJung May 25, 2020
ee6c0da
Auto merge of #72562 - RalfJung:rollup-2ngjgwi, r=RalfJung
bors May 25, 2020
ee6e705
Fix UB in Arc
Diggsey May 24, 2020
632f3de
Clean up E0608 explanation
GuillaumeGomez May 25, 2020
d959a8f
rename lint
RalfJung May 25, 2020
a0f06d1
Auto merge of #72354 - tamird:remove-copyright, r=Mark-Simulacrum
bors May 25, 2020
a93d316
Fix bug in shebang handling
rcoh Apr 23, 2020
d5250c1
Rollup merge of #72153 - lcnr:exhaustively-match, r=pnkfelix
Dylan-DPC May 25, 2020
65607fb
Rollup merge of #72308 - Aaron1011:fix/hygiene-error-message, r=matth…
Dylan-DPC May 25, 2020
c579102
Rollup merge of #72560 - JohnTitor:glacier, r=Mark-Simulacrum
Dylan-DPC May 25, 2020
aa8d64b
Rollup merge of #72567 - GuillaumeGomez:cleanup-e0608, r=Dylan-DPC
Dylan-DPC May 25, 2020
f93bb2a
Auto merge of #72575 - Dylan-DPC:rollup-zo679hv, r=Dylan-DPC
bors May 25, 2020
4ca6262
Avoid `Operand::Copy` with `&mut T`
jonas-schievink May 23, 2020
e04318e
Add a small MIR validation pass
jonas-schievink May 23, 2020
91dcbbb
Allow unlabeled breaks from desugared `?` in labeled blocks
samrat May 25, 2020
fe1753a
Always validate MIR after optimizing
jonas-schievink May 25, 2020
b3f1b95
Rollup merge of #72061 - lcnr:const-inference-test, r=eddyb
Dylan-DPC May 25, 2020
0498845
Rollup merge of #72424 - RalfJung:mir-print-ice, r=oli-obk
Dylan-DPC May 25, 2020
a7ff5a0
Rollup merge of #72450 - csmoe:issue-72442, r=oli-obk
Dylan-DPC May 25, 2020
036688f
Rollup merge of #72451 - ecstatic-morse:nrvo-type-mismatch, r=matthew…
Dylan-DPC May 25, 2020
b6a8915
Rollup merge of #72538 - rakshith-ravi:refactor/remove-const-query, r…
Dylan-DPC May 25, 2020
698c5c6
Auto merge of #72589 - Dylan-DPC:rollup-7l2a2bo, r=Dylan-DPC
bors May 25, 2020
0fdbfd3
Update books
ehuss May 26, 2020
a0431e2
Update cargo
ehuss May 26, 2020
9eedd13
Auto merge of #71487 - rcoh:71471-shebang, r=petrochenkov
bors May 26, 2020
1f0a395
cargo update -p colored
JohnTitor May 26, 2020
b4b76b8
cargo update -p regex --aggressive
JohnTitor May 26, 2020
a6e58ae
cargo update -p rls-analysis
JohnTitor May 26, 2020
9f8628b
cargo update -p atty --aggressive
JohnTitor May 26, 2020
ffa493a
Implement warning for unused dependencies.
jsgf May 17, 2020
cb272d5
Auto merge of #72093 - jonas-schievink:unmut, r=oli-obk
bors May 26, 2020
3d4f478
Update allowed crates list
JohnTitor May 26, 2020
b9ba4b3
Small cell example update
GuillaumeGomez May 26, 2020
0fa4762
Move focusSearchBar and defocusSearchBar functions to the top of the …
GuillaumeGomez May 17, 2020
deaf5e2
Move "global" code into anonymous functions
GuillaumeGomez May 17, 2020
872ddf2
Reexported functions are now declared directly as "windows" field
GuillaumeGomez May 17, 2020
f41d284
Fix eslint lints
GuillaumeGomez May 17, 2020
aeca4d6
Auto merge of #71900 - GuillaumeGomez:clean-up-rustdoc, r=ollie27,kin…
bors May 26, 2020
05a2212
Remove font-display settings
GuillaumeGomez May 26, 2020
a423d2d
Improve formatting
GuillaumeGomez May 26, 2020
398511a
Import missing functions from storage.js
GuillaumeGomez May 26, 2020
afd88f2
Export ZERO_AR_DATE for macos linker invocations
alexcrichton May 5, 2020
5239f5c
Auto merge of #71931 - alexcrichton:reproducible-macos, r=eddyb
bors May 26, 2020
b60fe39
Add remark regarding DoubleEndedIterator
phimuemue May 26, 2020
6e6bd63
Rollup merge of #72270 - RalfJung:lint-ref-to-packed, r=oli-obk
Dylan-DPC May 26, 2020
0747f58
Rollup merge of #72294 - GuillaumeGomez:js-cleanup, r=kinnison
Dylan-DPC May 26, 2020
e38fdda
Rollup merge of #72342 - jsgf:warn-unused-deps, r=petrochenkov
Dylan-DPC May 26, 2020
401b3ae
Rollup merge of #72401 - ecstatic-morse:issue-72394, r=eddyb
Dylan-DPC May 26, 2020
5fb7210
Rollup merge of #72581 - samrat:allow-desugared-break-in-labeled-bloc…
Dylan-DPC May 26, 2020
e061c40
Rollup merge of #72592 - ehuss:update-books, r=ehuss
Dylan-DPC May 26, 2020
f384cdc
improve error message for unexpected comma token in multiline block
chrissimpkins May 26, 2020
e533559
Auto merge of #72627 - Dylan-DPC:rollup-bavnoq5, r=Dylan-DPC
bors May 26, 2020
783139b
Auto merge of #72596 - ehuss:update-cargo, r=ehuss
bors May 27, 2020
cbe7b90
Rollup merge of #72348 - chrissimpkins:fix-72253, r=estebank
Dylan-DPC May 27, 2020
8f95dc8
Rollup merge of #72533 - Diggsey:db-fix-arc-ub2, r=dtolnay
Dylan-DPC May 27, 2020
2b3b115
Rollup merge of #72548 - rossmacarthur:add-mcve-for-50687, r=nikomats…
Dylan-DPC May 27, 2020
36d6118
Rollup merge of #72606 - GuillaumeGomez:cell-example-update, r=Dylan-DPC
Dylan-DPC May 27, 2020
9e061f3
Rollup merge of #72610 - GuillaumeGomez:revert-unwanted-css-changes, …
Dylan-DPC May 27, 2020
e6353aa
Rollup merge of #72626 - phimuemue:doubleendediter_doc, r=dtolnay
Dylan-DPC May 27, 2020
acfc558
Auto merge of #72639 - Dylan-DPC:rollup-76upj51, r=Dylan-DPC
bors May 27, 2020
2873165
Auto merge of #72601 - JohnTitor:deps, r=Mark-Simulacrum
bors May 27, 2020
664fcd3
Auto merge of #71996 - Marwes:detach_undo_log, r=nikomatsakis
bors May 27, 2020
4512721
Auto merge of #72494 - lcnr:predicate-cleanup, r=nikomatsakis
bors May 28, 2020
5206880
Merge from upstream
MabezDev May 28, 2020
caccb7e
Merge from upstream
MabezDev May 28, 2020
4973df1
Fixes
MabezDev May 28, 2020
37eb4b5
Update stdarch
MabezDev May 28, 2020
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/tracking_issue.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Tracking Issue
about: A tracking issue for a feature in Rust.
about: A tracking issue for an accepted feature or RFC in Rust.
title: Tracking Issue for XXX
labels: C-tracking-issue
---
Expand Down
144 changes: 13 additions & 131 deletions .github/workflows/ci.yml

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
[submodule "src/tools/rls"]
path = src/tools/rls
url = https://github.com/rust-lang/rls.git
[submodule "src/tools/clippy"]
path = src/tools/clippy
url = https://github.com/rust-lang/rust-clippy.git
[submodule "src/tools/rustfmt"]
path = src/tools/rustfmt
url = https://github.com/rust-lang/rustfmt.git
Expand Down
5 changes: 3 additions & 2 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Carol (Nichols || Goulding) <carol.nichols@gmail.com> <193874+carols10cents@user
Carol (Nichols || Goulding) <carol.nichols@gmail.com> <carol.nichols@gmail.com>
Carol (Nichols || Goulding) <carol.nichols@gmail.com> <cnichols@thinkthroughmath.com>
Carol Willing <carolcode@willingconsulting.com>
Charles Lew <crlf0710@gmail.com> CrLF0710 <crlf0710@gmail.com>
Chris C Cerami <chrisccerami@users.noreply.github.com> Chris C Cerami <chrisccerami@gmail.com>
Chris Pressey <cpressey@gmail.com>
Chris Thorn <chris@thorn.co> Chris Thorn <thorn@thoughtbot.com>
Expand Down Expand Up @@ -133,7 +134,7 @@ João Oliveira <hello@jxs.pt> joaoxsouls <joaoxsouls@gmail.com>
Johann Hofmann <git@johann-hofmann.com> Johann <git@johann-hofmann.com>
John Clements <clements@racket-lang.org> <clements@brinckerhoff.org>
John Hodge <acessdev@gmail.com> John Hodge <tpg@mutabah.net>
John Kåre Alsaker <john.kare.alsaker@gmail.com>
John Kåre Alsaker <john.kare.alsaker@gmail.com>
John Talling <inrustwetrust@users.noreply.github.com>
Jonathan Bailey <jbailey@mozilla.com> <jbailey@jbailey-20809.local>
Jonathan S <gereeter@gmail.com> Jonathan S <gereeter+code@gmail.com>
Expand All @@ -153,7 +154,7 @@ Laurențiu Nicola <lnicola@dend.ro>
Lee Jeffery <leejeffery@gmail.com> Lee Jeffery <lee@leejeffery.co.uk>
Lee Wondong <wdlee91@gmail.com>
Lennart Kudling <github@kudling.de>
Léo Testard <leo.testard@gmail.com>
Léo Testard <leo.testard@gmail.com>
Lindsey Kuper <lindsey@composition.al> <lindsey@rockstargirl.org>
Lindsey Kuper <lindsey@composition.al> <lkuper@mozilla.com>
Luke Metz <luke.metz@students.olin.edu>
Expand Down
85 changes: 77 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,73 @@ with one another are rolled up.
Speaking of tests, Rust has a comprehensive test suite. More information about
it can be found [here][rctd].

### External Dependencies
### External Dependencies (subtree)

As a developer to this repository, you don't have to treat the following external projects
differently from other crates that are directly in this repo:

* Clippy

They are just regular files and directories. This is in contrast to `submodule` dependencies
(see below for those). Only tool authors will actually use any operations here.

#### Synchronizing a subtree

There are two synchronization directions: `subtree push` and `subtree pull`.

```
git subtree push -P src/tools/clippy git@github.com:your-github-name/rust-clippy sync-from-rust
```

takes all the changes that
happened to the copy in this repo and creates commits on the remote repo that match the local
changes. Every local commit that touched the subtree causes a commit on the remote repo, but is
modified to move the files from the specified directory to the tool repo root.

Make sure to not pick the `master` branch on the tool repo, so you can open a normal PR to the tool
to merge that subrepo push.

```
git subtree pull -P src/tools/clippy https://github.com/rust-lang/rust-clippy master
```

takes all changes since the last `subtree pull` from the tool repo
repo and adds these commits to the rustc repo + a merge commit that moves the tool changes into
the specified directory in the rust repository.

It is recommended that you always do a push first and get that merged to the tool master branch.
Then, when you do a pull, the merge works without conflicts.
While it's definitely possible to resolve conflicts during a pull, you may have to redo the conflict
resolution if your PR doesn't get merged fast enough and there are new conflicts. Do not try to
rebase the result of a `git subtree pull`, rebasing merge commits is a bad idea in general.

You always need to specify the `-P` prefix to the subtree directory and the corresponding remote
repository. If you specify the wrong directory or repository
you'll get very fun merges that try to push the wrong directory to the wrong remote repository.
Luckily you can just abort this without any consequences by throwing away either the pulled commits
in rustc or the pushed branch on the remote and try again. It is usually fairly obvious
that this is happening because you suddenly get thousands of commits that want to be synchronized.

#### Creating a new subtree dependency

If you want to create a new subtree dependency from an existing repository, call (from this
repository's root directory!)

```
git subtree add -P src/tools/clippy https://github.com/rust-lang/rust-clippy.git master
```

This will create a new commit, which you may not rebase under any circumstances! Delete the commit
and redo the operation if you need to rebase.

Now you're done, the `src/tools/clippy` directory behaves as if Clippy were part of the rustc
monorepo, so no one but you (or others that synchronize subtrees) actually needs to use `git subtree`.


### External Dependencies (submodules)

Currently building Rust will also build the following external projects:

* [clippy](https://github.com/rust-lang/rust-clippy)
* [miri](https://github.com/rust-lang/miri)
* [rustfmt](https://github.com/rust-lang/rustfmt)
* [rls](https://github.com/rust-lang/rls/)
Expand Down Expand Up @@ -221,7 +283,6 @@ before the PR is merged.

Rust's build system builds a number of tools that make use of the
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
break because of your changes, you may run into a sort of "chicken and egg"
Expand Down Expand Up @@ -331,10 +392,18 @@ You can find documentation style guidelines in [RFC 1574][rfc1574].

[rfc1574]: https://github.com/rust-lang/rfcs/blob/master/text/1574-more-api-documentation-conventions.md#appendix-a-full-conventions-text

In many cases, you don't need a full `./x.py doc`. You can use `rustdoc` directly
to check small fixes. For example, `rustdoc src/doc/reference.md` will render
reference to `doc/reference.html`. The CSS might be messed up, but you can
verify that the HTML is right.
In many cases, you don't need a full `./x.py doc`, which will build the entire
stage 2 compiler and compile the various books published on
[doc.rust-lang.org]. When updating documentation for the standard library,
first try `./x.py doc --stage 0 src/libstd`. If that fails, or if you need to
see the output from the latest version of `rustdoc`, use `--stage 1` instead of
`--stage 0`. Results should appear in `build/$TARGET/crate-docs`.

[doc.rust-lang.org]: htts://doc.rust-lang.org

You can also use `rustdoc` directly to check small fixes. For example,
`rustdoc src/doc/reference.md` will render reference to `doc/reference.html`.
The CSS might be messed up, but you can verify that the HTML is right.

Additionally, contributions to the [rustc-dev-guide] are always welcome. Contributions
can be made directly at [the
Expand Down Expand Up @@ -449,7 +518,7 @@ are:
* Don't be afraid to ask! The Rust community is friendly and helpful.

[rustc dev guide]: https://rustc-dev-guide.rust-lang.org/about-this-guide.html
[gdfrustc]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/
[gdfrustc]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/
[gsearchdocs]: https://www.google.com/search?q=site:doc.rust-lang.org+your+query+here
[rif]: http://internals.rust-lang.org
[rr]: https://doc.rust-lang.org/book/README.html
Expand Down
Loading