Skip to content
This repository has been archived by the owner on Jan 7, 2022. It is now read-only.

Sync upstream #95

Merged
merged 1,748 commits into from
Mar 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1748 commits
Select commit Hold shift + click to select a range
b5938ad
adjust Miri to needs of changed unwinding strategy
RalfJung Mar 14, 2020
b450e1b
fix comment, rustfmt
RalfJung Mar 14, 2020
b2779d8
Use smaller discriminants for generators
jonas-schievink Mar 9, 2020
4266807
Add a test for generator discriminants
jonas-schievink Mar 9, 2020
3e5259d
Move IntercrateAmbiguityCause back to rustc::traits::select.
cjgillot Feb 10, 2020
98444ca
Move opaque_types::unexpected_hidden_region_diagnostic to error_repor…
cjgillot Feb 10, 2020
49aabd8
Fix rebase fallout
jonas-schievink Mar 14, 2020
796ca64
Move traits::query::outlives_bounds::explicit_outlives_bounds to infe…
cjgillot Feb 10, 2020
21d4e06
Mode ProjectionCache to its own module.
cjgillot Feb 11, 2020
c1e3d55
Move rustc_infer::traits to new crate rustc_trait_selection.
cjgillot Feb 11, 2020
0535dd3
Split librustc_infer.
cjgillot Feb 22, 2020
1fcdc52
Make downstream crates compile.
cjgillot Feb 11, 2020
0144a97
Trim dependencies and features.
cjgillot Feb 11, 2020
0f1e814
Auto merge of #69923 - matthiaskrgr:submodule_upd, r=Dylan-DPC
bors Mar 14, 2020
38fa378
Swap inserts to keep the original ordering
jonas-schievink Mar 14, 2020
e80cb20
resolve: Fix regression in resolution of raw keywords in paths
petrochenkov Mar 14, 2020
131772c
Auto merge of #69076 - cjgillot:split_trait, r=matthewjasper
bors Mar 14, 2020
d4ea327
Make ignore and compile fail signs more visible
GuillaumeGomez Mar 14, 2020
8216a32
remove compilation warning
GuillaumeGomez Mar 14, 2020
7cdbc87
Auto merge of #69999 - RalfJung:miri-unwind, r=oli-obk
bors Mar 14, 2020
864d05b
Add a workaround for catch_unwind in stage1 mingw target
Amanieu Mar 14, 2020
cfa1d4e
Add HIR queries
Zoxc Feb 7, 2020
21386e1
Collect the new maps
Zoxc Feb 7, 2020
518c78f
Create Map after TyCtxt
Zoxc Feb 7, 2020
e1a9626
Update item functions
Zoxc Feb 7, 2020
d3c7394
Update `fn_decl_by_hir_id` and `fn_sig_by_hir_id`
Zoxc Feb 7, 2020
0c68b7a
Update `body_owner` and `maybe_body_owned_by`
Zoxc Feb 7, 2020
38e613c
Update `krate_attrs` and `get_module`
Zoxc Feb 7, 2020
b40e6ba
Update `visit_item_likes_in_module`
Zoxc Feb 7, 2020
d5827d8
Update `get_parent_node`
Zoxc Feb 7, 2020
9c4308e
Update `find`
Zoxc Feb 7, 2020
21942a5
Update `is_hir_id_module`
Zoxc Feb 7, 2020
61527c8
Update `find_entry`
Zoxc Feb 7, 2020
270ee7e
Remove comments
Zoxc Feb 8, 2020
072449c
Update `trait_impls`
Zoxc Feb 8, 2020
d99b17f
Remove the `map` field from `Map`
Zoxc Feb 8, 2020
fa09db8
Remove `AllLocalTraitImpls`
Zoxc Feb 8, 2020
e9d166f
Clean up the collector
Zoxc Feb 8, 2020
b97d438
Remove `Hir` and `HirBody` dep nodes
Zoxc Feb 8, 2020
d73268b
Remove `input_task`
Zoxc Feb 9, 2020
3538cb3
Only hash the Hir owner (including its bodies)
Zoxc Feb 9, 2020
8b16b02
Index HIR after creating TyCtxt
Zoxc Feb 9, 2020
0e316e2
Fix HIR map validation
Zoxc Feb 9, 2020
aea57ae
Don't hash HIR with bodies thrice
Zoxc Feb 10, 2020
396aeb8
Optimize the HIR map
Zoxc Feb 10, 2020
739a1ef
Create the `hir_to_node_id` map before `TyCtxt`
Zoxc Feb 12, 2020
c0b60c4
Replace `HirBody` with `hir_owner_items` in tests
Zoxc Feb 12, 2020
274fb66
Replace `Hir` with `hir_owner` in tests
Zoxc Feb 12, 2020
10b23e3
Format function_interfaces.rs
Zoxc Feb 12, 2020
6258c01
Reintroduce workaround for #62649
Zoxc Feb 12, 2020
7118f71
Update ich_nested_items.rs
Zoxc Feb 12, 2020
8b8041e
Update tests
Zoxc Feb 13, 2020
2af085d
Don't try to print missing HIR ids
Zoxc Feb 20, 2020
31183c3
Add test for #69596
Zoxc Mar 10, 2020
14fdd85
Add some comments to the new queries
Zoxc Mar 11, 2020
68dc24f
Clean up path separator in rustdoc book
TimotheeGerber Mar 14, 2020
ecb84c9
Clean up E0412 and E0422 explanations
GuillaumeGomez Mar 11, 2020
6f75d3f
Simplify `Qualif` interface
ecstatic-morse Dec 13, 2019
131433a
Change fenced code block type in rustdoc book
TimotheeGerber Mar 14, 2020
6d521ec
Fix punctuation in rustdoc book
TimotheeGerber Mar 14, 2020
138d29d
Update ui tests
GuillaumeGomez Mar 14, 2020
d7e6649
Return feature gate as a `Symbol`
ecstatic-morse Mar 14, 2020
2093d83
def_collector: Fully visit async functions
petrochenkov Mar 14, 2020
5760db1
Update src/librustc_error_codes/error_codes/E0634.md
ayushmishra2005 Mar 15, 2020
2974685
Update src/librustc_error_codes/error_codes/E0634.md
ayushmishra2005 Mar 15, 2020
62c0579
Rollup merge of #69357 - tmiasko:debuginfo-column, r=michaelwoerister
Dylan-DPC Mar 15, 2020
0619e46
Rollup merge of #69471 - nnethercote:rm-sip-Hasher-short_write, r=dto…
Dylan-DPC Mar 15, 2020
f40272c
Rollup merge of #69498 - mark-i-m:describe-it-2, r=matthewjasper
Dylan-DPC Mar 15, 2020
bf6e715
Rollup merge of #69967 - mark-i-m:rinfctx, r=matthewjasper
Dylan-DPC Mar 15, 2020
65f56da
Rollup merge of #69987 - kraai:mailmap, r=nikomatsakis
Dylan-DPC Mar 15, 2020
191a796
Rollup merge of #69991 - contrun:fix-69980, r=Dylan-DPC
Dylan-DPC Mar 15, 2020
838884e
Rollup merge of #69993 - ayushmishra2005:doc/61137-add-long-error-cod…
Dylan-DPC Mar 15, 2020
a4ffbaa
Add more context to the literal overflow message
contrun Mar 14, 2020
401a3f3
Fix "since" field for `Once::is_complete`'s `#[stable]` attribute
LukasKalbertodt Mar 15, 2020
78f01ec
resolve: Prevent fresh bindings from shadowing ambiguity items
petrochenkov Mar 14, 2020
b8ac984
update miri
RalfJung Mar 15, 2020
5a72ecf
Auto merge of #70016 - Dylan-DPC:rollup-5k7lxs3, r=Dylan-DPC
bors Mar 15, 2020
a62dd0e
Add `min_specialization` feature
matthewjasper Feb 8, 2020
c24b4bf
Add attributes to allow specializing on traits
matthewjasper Feb 8, 2020
32d330d
Avoid ICEs when we emit errors constructing the specialization graph
matthewjasper Feb 8, 2020
0bbbe71
Implement soundness check for min_specialization
matthewjasper Feb 8, 2020
4377ac3
Use min_specialization in libstd and libproc_macro
matthewjasper Feb 8, 2020
39ee66a
Consider well-formed predicates in min-specialization
matthewjasper Mar 9, 2020
5da2e53
Auto merge of #69961 - RalfJung:miri, r=RalfJung
bors Mar 15, 2020
83aad6b
Rollup merge of #69528 - HeroicKatora:finalize-ref-cell, r=dtolnay
Centril Mar 15, 2020
d1e943f
Rollup merge of #69589 - petrochenkov:maccall, r=Centril
Centril Mar 15, 2020
cc16232
Rollup merge of #69661 - lopopolo:string-from-mut-str, r=sfackler
Centril Mar 15, 2020
8bca839
Rollup merge of #69988 - petrochenkov:nomacrodef, r=Centril
Centril Mar 15, 2020
d986a70
Rollup merge of #70006 - petrochenkov:fresh, r=Centril
Centril Mar 15, 2020
d74c5cd
Rollup merge of #70011 - petrochenkov:asyncice, r=Centril
Centril Mar 15, 2020
b46ef3d
Rollup merge of #70013 - ecstatic-morse:check-consts-feature-gate, r=…
Centril Mar 15, 2020
bde77af
Rollup merge of #70018 - LukasKalbertodt:fix-once-is-complete-since, …
Centril Mar 15, 2020
621c42c
Render full attributes in rustdoc
varkor Mar 3, 2020
c599ec4
Add FIXME note
varkor Mar 3, 2020
e0f5df0
Auto merge of #70024 - Centril:rollup-cppmaxr, r=Centril
bors Mar 15, 2020
81099c2
VariantSizeDifferences: bail on SizeOverflow
Centril Mar 10, 2020
f53f9a8
Bump the bootstrap compiler
jonas-schievink Mar 15, 2020
45ebd58
Auto merge of #68944 - Zoxc:hir-map, r=eddyb
bors Mar 15, 2020
51ea260
rustc: don't resolve Instances which would produce malformed shims.
eddyb Feb 9, 2020
bc8ff3f
rustc: tweak comments on InstanceDef.
anyska Mar 11, 2020
65bf483
ast/hir: `MacroDef::legacy` -> `MacroDef::macro_rules`
petrochenkov Mar 13, 2020
3fbb254
resolve: `Legacy(Scope,Binding)` -> `MacroRules(Scope,Binding)`
petrochenkov Mar 13, 2020
8c9a38f
Other `legacy` -> `macro_rules`
petrochenkov Mar 13, 2020
db638bd
hygiene: `modern` -> `normalize_to_macros_2_0`
petrochenkov Mar 13, 2020
7bd8ce2
More Method->Fn renaming
mark-i-m Mar 5, 2020
e5de0b1
Rollup merge of #69686 - varkor:rustdoc-attributes, r=GuillaumeGomez
Dylan-DPC Mar 16, 2020
957241f
Rollup merge of #69858 - da-x:windows-precise-time, r=Dylan-DPC
Dylan-DPC Mar 16, 2020
bbdc871
Rollup merge of #69917 - GuillaumeGomez:cleanup-e0412, r=Dylan-DPC
Dylan-DPC Mar 16, 2020
fdb5df0
Rollup merge of #69964 - ollie27:ci_nodejs, r=Mark-Simulacrum,Guillau…
Dylan-DPC Mar 16, 2020
d34ec33
Rollup merge of #69992 - kornelski:robots, r=steveklabnik
Dylan-DPC Mar 16, 2020
56c60f2
Rollup merge of #69995 - contrun:add-context-to-literal-overflow, r=e…
Dylan-DPC Mar 16, 2020
9296d77
Rollup merge of #69998 - ayushmishra2005:doc/61137-add-long-error-cod…
Dylan-DPC Mar 16, 2020
6b50a4c
Rollup merge of #70014 - TimotheeGerber:small-fix-rustdoc-book, r=Dyl…
Dylan-DPC Mar 16, 2020
e3c15ae
update comment
mark-i-m Mar 7, 2020
1b92e86
MethodData -> AssocFnData
mark-i-m Mar 15, 2020
73a625b
remove unnecessary hir::map imports
Centril Mar 11, 2020
4392a8b
use direct imports for `rustc::{lint, session}`.
Centril Mar 11, 2020
97eda01
Auto merge of #70034 - Dylan-DPC:rollup-5yg771j, r=Dylan-DPC
bors Mar 16, 2020
2c2d41d
make article_and_description primarily use def_kind
mark-i-m Mar 16, 2020
8e6de32
Auto merge of #70010 - Amanieu:fix-opt-catch, r=Mark-Simulacrum
bors Mar 16, 2020
59b0058
Rollup merge of #67335 - ecstatic-morse:qualif-refactor, r=eddyb
Dylan-DPC Mar 16, 2020
2443eb4
Rollup merge of #69122 - dtolnay:backtrace, r=cramertj
Dylan-DPC Mar 16, 2020
1685264
Rollup merge of #69520 - kornelski:e69492, r=cramertj
Dylan-DPC Mar 16, 2020
0d7c82e
Rollup merge of #69738 - mark-i-m:assoc-fn-2, r=eddyb
Dylan-DPC Mar 16, 2020
8f2482b
Rollup merge of #69867 - ayushmishra2005:doc/61137-add-long-error-cod…
Dylan-DPC Mar 16, 2020
8872d90
Rollup merge of #69989 - petrochenkov:nolegacy, r=eddyb,matthewjasper
Dylan-DPC Mar 16, 2020
d8dbb3c
Rollup merge of #70036 - mark-i-m:describe-it-4, r=eddyb
Dylan-DPC Mar 16, 2020
59f4ba9
Auto merge of #70040 - Dylan-DPC:rollup-id1k6lz, r=Dylan-DPC
bors Mar 16, 2020
996a51b
init-large-type test needs optimizations
RalfJung Mar 16, 2020
dd67187
Auto merge of #67133 - oli-obk:it_must_be_a_sign, r=eddyb
bors Mar 16, 2020
a2160e6
make mem::{zeroed,uninitialized} inline(always)
RalfJung Mar 16, 2020
ce5e49f
Use sublice patterns to avoid computing the len
tesuji Mar 16, 2020
e1bc9af
Fix wrong deref
tesuji Mar 16, 2020
ec86270
Make macro metavars respect (non-)hygiene
matthewjasper Mar 11, 2020
b9167e6
Support type search for arguments and returned types
GuillaumeGomez Feb 23, 2020
2f44857
Update JS results tester
GuillaumeGomez Feb 23, 2020
e78c451
Add tests for new of variables
GuillaumeGomez Feb 23, 2020
5654cde
formatting
GuillaumeGomez Feb 23, 2020
d964e60
Rename render::Type to improve naming
GuillaumeGomez Mar 3, 2020
496256c
Update src/librustdoc/html/static/main.js
GuillaumeGomez Mar 9, 2020
7894509
Fiddle `ParamEnv` through to a place that used to use `ParamEnv::empt…
oli-obk Mar 16, 2020
7e2ebb0
submodules: update clippy from 8485d40a to 23549a8c
matthiaskrgr Mar 16, 2020
e24252a
Auto merge of #68970 - matthewjasper:min-spec, r=nikomatsakis
bors Mar 16, 2020
9b85213
Add missing variable to load in non-std tester as well
GuillaumeGomez Mar 16, 2020
cff1182
Fix FlattenCompat::{next, next_back}
timvermeulen Feb 6, 2020
8cf33b0
Add tests
timvermeulen Feb 4, 2020
442e5ff
Small fixes in documentation
JOE1994 Mar 17, 2020
afd374f
Ignore wasm32
12101111 Mar 17, 2020
b691145
Rollup merge of #69811 - petrochenkov:privdiag2, r=estebank
Centril Mar 17, 2020
9fc5c2d
Rollup merge of #69870 - petrochenkov:cfgacc, r=matthewjasper
Centril Mar 17, 2020
1b0c73b
Rollup merge of #69881 - Centril:fix-69485, r=oli-obk
Centril Mar 17, 2020
3d25622
Rollup merge of #70000 - petrochenkov:rawkeypars, r=davidtwco
Centril Mar 17, 2020
f907598
Rollup merge of #70029 - jonas-schievink:bootstrap, r=Centril
Centril Mar 17, 2020
4d7ec70
Rollup merge of #70046 - lzutao:patch-1, r=Centril
Centril Mar 17, 2020
f118fee
Rollup merge of #70049 - oli-obk:param_env_empty_considered_unimpleme…
Centril Mar 17, 2020
5e9ebf4
Auto merge of #70062 - Centril:rollup-synwle8, r=Centril
bors Mar 17, 2020
194de27
Update books
ehuss Mar 17, 2020
5a9ccc9
Remove `free_region_map` from `TypeckTables`
matthewjasper Nov 30, 2019
cefd030
Don't use `TypeckTables` in NiceRegionError
matthewjasper Feb 15, 2020
0a7f16e
Erase regions in writeback
matthewjasper Feb 15, 2020
1ee5829
Update tests for erasing regions in typeck
matthewjasper Feb 15, 2020
8cf9e9e
Rollup merge of #68746 - matthewjasper:metahygiene, r=petrochenkov
Centril Mar 17, 2020
91426e9
Rollup merge of #69688 - JohnTitor:move-tidy, r=Mark-Simulacrum
Centril Mar 17, 2020
c4a900f
Rollup merge of #69735 - tmiasko:bootstrap-sanitizers-hash, r=Mark-Si…
Centril Mar 17, 2020
7a7ca82
Rollup merge of #69922 - RalfJung:less-intrinsic, r=oli-obk
Centril Mar 17, 2020
98295f7
Rollup merge of #69956 - matthewjasper:fix-region-flags, r=nikomatsakis
Centril Mar 17, 2020
9882117
Rollup merge of #70061 - JOE1994:patch-2, r=Dylan-DPC
Centril Mar 17, 2020
36da5ee
Rollup merge of #70064 - ehuss:update-books, r=ehuss
Centril Mar 17, 2020
660326e
Auto merge of #70072 - Centril:rollup-722hooh, r=Centril
bors Mar 17, 2020
aa20d96
Don't prepend with space before paren
GuillaumeGomez Mar 17, 2020
429b16e
Make `newtype_index` methods const
ecstatic-morse Mar 10, 2020
7f5a284
Rename `from_u32_const` -> `from_u32`
ecstatic-morse Mar 10, 2020
cc4a577
Add requisite feature gates for const assert
ecstatic-morse Mar 10, 2020
9ac93ee
Hold index of generator `self` arg in `const`
ecstatic-morse Mar 10, 2020
7ceebd9
Auto merge of #69519 - 12101111:remove-proc-macro-check, r=nagisa
bors Mar 17, 2020
81172d8
Update pretty tests
GuillaumeGomez Mar 17, 2020
9a017da
Update rustdoc test and remove TODO comment
GuillaumeGomez Mar 17, 2020
ae5b641
Auto merge of #70020 - matthiaskrgr:submodule_upd, r=ehuss
bors Mar 17, 2020
af0d6fc
Use copy bound in atomic operations to generate simpler MIR
tmiasko Mar 17, 2020
d939f70
Auto merge of #68915 - timvermeulen:non_fused_iter, r=Amanieu
bors Mar 18, 2020
d79c1d3
Update cargo
ehuss Mar 11, 2020
f509b26
Auto merge of #69907 - ehuss:update-cargo, r=ehuss
bors Mar 18, 2020
d5b6a20
std: Don't abort process when printing panics in tests
alexcrichton Mar 12, 2020
bc75cba
submod_path_from_attr: simplify & document
Centril Mar 7, 2020
2899a58
extract error_cannot_declare_mod_here
Centril Mar 7, 2020
185c1d3
extract error_decl_mod_in_block
Centril Mar 7, 2020
2db5d49
simplify submod_path
Centril Mar 7, 2020
803de31
submod_path: use id.span
Centril Mar 7, 2020
7108b7f
extract parse_mod
Centril Mar 7, 2020
dfcefa4
extract error_on_circular_module
Centril Mar 7, 2020
ca098b1
detach submod_path from Parser
Centril Mar 8, 2020
53a633f
decouple push_directory from Parser
Centril Mar 8, 2020
98e71cd
decouple eval_src_mod from Parser
Centril Mar 8, 2020
b9e1b26
expand: use push_directory
Centril Mar 8, 2020
8bab88f
de-fatalize outline module parsing
Centril Mar 8, 2020
463995f
extract parse_external_module
Centril Mar 8, 2020
59bf8a0
extract error_on_circular_module
Centril Mar 8, 2020
83a757a
outline modules: parse -> expand.
Centril Mar 8, 2020
f1ca996
parse: module parsing -> item.rs
Centril Mar 8, 2020
ddcc8ec
move Directory -> parser::module
Centril Mar 8, 2020
3796fae
{rustc_parse::parser -> rustc_expand}::module
Centril Mar 8, 2020
31ee8e0
{rustc_parse -> rustc_expand}::config
Centril Mar 8, 2020
a6cb04f
add test for stripped nested outline module
Centril Mar 8, 2020
7d0e5bb
parser/expand: minor cleanup
Centril Mar 9, 2020
fe71342
tweak outline module parsing spans
Centril Mar 9, 2020
41a0b3e
use pretty-compare-only in a test
Centril Mar 10, 2020
5ee4f6f
fix pre-expansion linting infra
Centril Mar 15, 2020
e301291
fix rebase fallout
Centril Mar 15, 2020
8caf688
--bless windows test
Centril Mar 17, 2020
287c4eb
Tidy: fix running rustfmt twice
ehuss Mar 18, 2020
5610684
Rollup merge of #67749 - gilescope:keyword-in, r=Dylan-DPC
Centril Mar 18, 2020
8188b21
Rollup merge of #69139 - GuillaumeGomez:cleanup-e0308, r=Dylan-DPC
Centril Mar 18, 2020
3f583fc
Rollup merge of #69189 - matthewjasper:erase-the-world, r=nikomatsakis
Centril Mar 18, 2020
4118ff6
Rollup merge of #69837 - jonas-schievink:gen-discr-opt, r=tmandry
Centril Mar 18, 2020
23b79d8
Rollup merge of #69838 - Centril:expand-module, r=petrochenkov
Centril Mar 18, 2020
a958314
Rollup merge of #69839 - RalfJung:miri-error-cleanup, r=oli-obk
Centril Mar 18, 2020
2521849
Rollup merge of #69899 - ecstatic-morse:const-idx-methods, r=oli-obk
Centril Mar 18, 2020
292c538
Rollup merge of #69920 - Centril:hir-cleanup, r=Zoxc
Centril Mar 18, 2020
60a2d06
Rollup merge of #70075 - GuillaumeGomez:fix-repr-display, r=petrochenkov
Centril Mar 18, 2020
b6f61a1
Rollup merge of #70106 - ehuss:fix-tidy-fmt-twice, r=Mark-Simulacrum
Centril Mar 18, 2020
779e592
ci: use python from the correct path
pietroalbini Mar 18, 2020
11053ba
Rollup merge of #70112 - Centril:rollup-gpi5tbq, r=Centril
pietroalbini Mar 18, 2020
94ed071
Rollup merge of #70116 - pietroalbini:ci-fix-windows-python-path, r=M…
pietroalbini Mar 18, 2020
57e1da5
Auto merge of #70118 - pietroalbini:rollup-pgjc90i, r=pietroalbini
bors Mar 19, 2020
5e28561
Properly handle Spans that reference imported SourceFiles
Aaron1011 Feb 7, 2020
fddbee6
Rollup merge of #68941 - Aaron1011:fix/imported-span, r=petrochenkov
Centril Mar 19, 2020
ffb3c2c
Rollup merge of #69036 - eddyb:monoshim, r=nikomatsakis
Centril Mar 19, 2020
61fe2e4
Rollup merge of #69443 - ehuss:tidy-license, r=skade,Mark-Simulacrum
Centril Mar 19, 2020
5570a23
Rollup merge of #69814 - jonas-schievink:gen-ret-unw, r=Zoxc
Centril Mar 19, 2020
904909f
Rollup merge of #69929 - cuviper:unicode-13.0.0, r=Mark-Simulacrum
Centril Mar 19, 2020
73c3a49
Rollup merge of #69959 - alexcrichton:fix-panic-in-print, r=Mark-Simu…
Centril Mar 19, 2020
4c3a5a5
Rollup merge of #69969 - iximeow:sigstack-guard-page, r=cuviper
Centril Mar 19, 2020
637233d
Rollup merge of #70005 - GuillaumeGomez:code-block-signs, r=kinnison
Centril Mar 19, 2020
605bb61
Rollup merge of #70088 - tmiasko:atomic-copy, r=eddyb
Centril Mar 19, 2020
6724d58
Auto merge of #70132 - Centril:rollup-oe8unsn, r=Centril
bors Mar 19, 2020
898ff8d
update miri
RalfJung Mar 19, 2020
e11dd47
rustc: use LocalDefId instead of DefIndex for query keys.
eddyb Oct 31, 2019
e1762fd
rustc_typeck: remove dead impl for `DefIndex`.
eddyb Oct 31, 2019
55ed19f
rustc: make LocalDefId's index field public like DefId's is.
eddyb Oct 31, 2019
0c69279
rustc: rename DefId::to_local to expect_local and use it instead of L…
eddyb Nov 3, 2019
42b2adf
rustc: introduce DefId::as_local(self) -> Option<LocalDefId> and use it.
eddyb Nov 3, 2019
6130b99
rustc: use LocalDefId instead of DefIndex in hir::lowering.
eddyb Nov 3, 2019
f3ec069
rustc: use LocalDefId instead of DefIndex in HirId.
eddyb Mar 18, 2020
2b0a21e
rustc: use LocalDefId instead of DefIndex in ich.
eddyb Nov 5, 2019
16e25f0
rustc: use LocalDefId instead of DefIndex in hir::map::definitions.
eddyb Nov 3, 2019
3c6f982
Auto merge of #66131 - eddyb:local-def-id, r=petrochenkov
bors Mar 19, 2020
2602289
Auto merge of #70137 - RalfJung:miri, r=RalfJung
bors Mar 19, 2020
f4c675c
Auto merge of #69402 - GuillaumeGomez:extend-search, r=kinnison
bors Mar 19, 2020
df7964f
parse/lexer: support `StringReader::retokenize` called on external fi…
eddyb Mar 20, 2020
9cc7be1
Merge branch 'master' of https://github.com/rust-lang/rust into yk-sy…
vext01 Mar 20, 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
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/tracking_issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ for larger features an implementation could be broken up into multiple PRs.

- [ ] Implement the RFC (cc @rust-lang/XXX -- can anyone write up mentoring
instructions?)
- [ ] Adjust documentation ([see instructions on rustc-guide][doc-guide])
- [ ] Stabilization PR ([see instructions on rustc-guide][stabilization-guide])
- [ ] Adjust documentation ([see instructions on rustc-dev-guide][doc-guide])
- [ ] Stabilization PR ([see instructions on rustc-dev-guide][stabilization-guide])

[stabilization-guide]: https://rust-lang.github.io/rustc-guide/stabilization_guide.html#stabilization-pr
[doc-guide]: https://rust-lang.github.io/rustc-guide/stabilization_guide.html#documentation-prs
[stabilization-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#stabilization-pr
[doc-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#documentation-prs

### Unresolved Questions
<!--
Expand Down
6 changes: 5 additions & 1 deletion .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# email addresses.
#

Aaron Power <theaaronepower@gmail.com> Erin Power <xampprocky@gmail.com>
Aaron Todd <github@opprobrio.us>
Abhishek Chanda <abhishek.becs@gmail.com> Abhishek Chanda <abhishek@cloudscaling.com>
Adolfo Ochagavía <aochagavia92@gmail.com>
Expand Down Expand Up @@ -84,6 +83,8 @@ Eric Holk <eric.holk@gmail.com> <eholk@mozilla.com>
Eric Holmes <eric@ejholmes.net>
Eric Reed <ecreed@cs.washington.edu> <ereed@mozilla.com>
Erick Tryzelaar <erick.tryzelaar@gmail.com> <etryzelaar@iqt.org>
Erin Power <xampprocky@gmail.com> <theaaronepower@gmail.com>
Erin Power <xampprocky@gmail.com> <Aaronepower@users.noreply.github.com>
Esteban Küber <esteban@kuber.com.ar> <esteban@commure.com>
Esteban Küber <esteban@kuber.com.ar> <estebank@users.noreply.github.com>
Esteban Küber <esteban@kuber.com.ar> <github@kuber.com.ar>
Expand Down Expand Up @@ -171,6 +172,9 @@ Mateusz Mikuła <matti@marinelayer.io> <mati865@gmail.com>
Mateusz Mikuła <matti@marinelayer.io> <mati865@users.noreply.github.com>
Matt Brubeck <mbrubeck@limpet.net> <mbrubeck@cs.hmc.edu>
Matthew Auld <matthew.auld@intel.com>
Matthew Kraai <kraai@ftbfs.org>
Matthew Kraai <kraai@ftbfs.org> <matt.kraai@abbott.com>
Matthew Kraai <kraai@ftbfs.org> <mkraai@its.jnj.com>
Matthew McPherrin <matthew@mcpherrin.ca> <matt@mcpherrin.ca>
Matthijs Hofstra <thiezz@gmail.com>
Melody Horn <melody@boringcactus.com> <mathphreak@gmail.com>
Expand Down
22 changes: 11 additions & 11 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ hop on the [Rust Discord server][rust-discord] or [Rust Zulip server][rust-zulip

As a reminder, all contributors are expected to follow our [Code of Conduct][coc].

The [rustc-guide] is your friend! It describes how the compiler works and how
The [rustc-dev-guide] is your friend! It describes how the compiler works and how
to contribute to it in more detail than this document.

If this is your first time contributing, the [walkthrough] chapter of the guide
Expand All @@ -29,8 +29,8 @@ can give you a good example of how a typical contribution would go.
[rust-discord]: http://discord.gg/rust-lang
[rust-zulip]: https://rust-lang.zulipchat.com
[coc]: https://www.rust-lang.org/conduct.html
[rustc-guide]: https://rust-lang.github.io/rustc-guide/
[walkthrough]: https://rust-lang.github.io/rustc-guide/walkthrough.html
[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/
[walkthrough]: https://rustc-dev-guide.rust-lang.org/walkthrough.html

## Feature Requests
[feature-requests]: #feature-requests
Expand Down Expand Up @@ -103,12 +103,12 @@ $ RUST_BACKTRACE=1 rustc ...
## The Build System

For info on how to configure and build the compiler, please see [this
chapter][rustcguidebuild] of the rustc-guide. This chapter contains info for
chapter][rustcguidebuild] of the rustc-dev-guide. This chapter contains info for
contributions to the compiler and the standard library. It also lists some
really useful commands to the build system (`./x.py`), which could save you a
lot of time.

[rustcguidebuild]: https://rust-lang.github.io/rustc-guide/building/how-to-build-and-run.html
[rustcguidebuild]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html

## Pull Requests
[pull-requests]: #pull-requests
Expand Down Expand Up @@ -142,7 +142,7 @@ the issue in question.
Please make sure your pull request is in compliance with Rust's style
guidelines by running

$ python x.py test src/tools/tidy
$ python x.py test tidy

Make this check before every pull request (and every new commit in a pull
request); you can add [git hooks](https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks)
Expand Down Expand Up @@ -336,9 +336,9 @@ 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-guide] are always welcome. Contributions
Additionally, contributions to the [rustc-dev-guide] are always welcome. Contributions
can be made directly at [the
rust-lang/rustc-guide](https://github.com/rust-lang/rustc-guide) repo. The issue
rust-lang/rustc-dev-guide](https://github.com/rust-lang/rustc-dev-guide) repo. The issue
tracker in that repo is also a great way to find things that need doing. There
are issues for beginners and advanced compiler devs alike!

Expand Down Expand Up @@ -434,7 +434,7 @@ For people new to Rust, and just starting to contribute, or even for
more seasoned developers, some useful places to look for information
are:

* The [rustc guide] contains information about how various parts of the compiler work and how to contribute to the compiler
* The [rustc dev guide] contains information about how various parts of the compiler work and how to contribute to the compiler
* [Rust Forge][rustforge] contains additional documentation, including write-ups of how to achieve common tasks
* The [Rust Internals forum][rif], a place to ask questions and
discuss Rust's internals
Expand All @@ -448,13 +448,13 @@ are:
* **Google!** ([search only in Rust Documentation][gsearchdocs] to find types, traits, etc. quickly)
* Don't be afraid to ask! The Rust community is friendly and helpful.

[rustc guide]: https://rust-lang.github.io/rustc-guide/about-this-guide.html
[rustc dev guide]: https://rustc-dev-guide.rust-lang.org/about-this-guide.html
[gdfrustc]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/
[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
[rustforge]: https://forge.rust-lang.org/
[tlgba]: http://tomlee.co/2014/04/a-more-detailed-tour-of-the-rust-compiler/
[ro]: http://www.rustaceans.org/
[rctd]: https://rust-lang.github.io/rustc-guide/tests/intro.html
[rctd]: https://rustc-dev-guide.rust-lang.org/tests/intro.html
[cheatsheet]: https://buildbot2.rust-lang.org/homu/
Loading