about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2019-09-30Stabilize macros in `extern` blocksVadim Petrochenkov-336/+37
Add some tests for macros in extern blocks, remove duplicate tests
2019-09-30Remove unused parts of ExprUseVisitorMatthew Jasper-428/+83
2019-09-30Remove HIR based const qualificationMatthew Jasper-916/+66
2019-09-30Stop printing `Qualif` results in debug logsDylan MacKenzie-4/+0
Now we can use the dataflow graphviz debugging.
2019-09-30Use separate files for debugging `Qualif` dataflow resultsDylan MacKenzie-1/+6
2019-09-30Update consumers of `generic::Engine` APIDylan MacKenzie-1/+2
2019-09-30Add graphviz debug output for generic dataflowDylan MacKenzie-5/+510
2019-09-30Allow `ResultsCursor` to borrow the underlying `Results`Dylan MacKenzie-8/+16
2019-09-30Fix typo in docsDylan MacKenzie-1/+1
2019-09-30Add missing links for mem::needs_dropLzu Tao-4/+6
2019-10-01Add test for issue-64662Yuki Okushi-0/+25
2019-09-30update ui testsGuillaume Gomez-1/+1
2019-09-30Add long error explanation for E0550Guillaume Gomez-1/+19
2019-09-30Auto merge of #64778 - csmoe:index, r=eddybbors-203/+231
Introduce librustc_index crate Closes #50592
2019-09-30update testsGuillaume Gomez-4/+8
2019-09-30Add long error explanation for E0493Guillaume Gomez-1/+45
2019-09-30Self-Profiling: Make names of existing events more consistent and use new API.Michael Woerister-158/+122
2019-09-30Self-Profiling: Refactor SelfProfiler API to be RAII based where possible.Michael Woerister-110/+244
2019-09-30Auto merge of #64600 - scottmcm:no-slice-tryfold-unroll, r=blussbors-68/+1
Remove manual unrolling from slice::Iter(Mut)::try_fold While this definitely helps sometimes (particularly for trivial closures), it's also a pessimization sometimes, so it's better to leave this to (hypothetical) future LLVM improvements instead of forcing this on everyone. I think it's better for the advice to be that sometimes you need to unroll manually than you sometimes need to not-unroll manually (like #64545). --- For context see https://github.com/rust-lang/rust/pull/64572#issuecomment-532961046
2019-09-30syntax: reduce repetition in fn parsing.Mazdak Farrokhzad-26/+21
2019-09-30syntax: stylistic cleanup in item parsing.Mazdak Farrokhzad-107/+47
2019-09-30syntax: fuse more code paths together.Mazdak Farrokhzad-48/+51
2019-09-30Auto merge of #64904 - ollie27:rustdoc_logo, r=Mark-Simulacrumbors-1/+1
rustdoc: Fix default logo filename This was a typo made in #64443. It's the reason the logo is missing on the [nightly docs](https://doc.rust-lang.org/nightly/std/). r? @Mark-Simulacrum
2019-09-30Remove legacy grammarErin Power-3566/+4
2019-09-30Fixed a misleading documentation issue #64844hman523-1/+1
2019-09-30syntax: extract `error_on_invalid_abi`.Mazdak Farrokhzad-14/+17
2019-09-30syntax: cleanup `parse_visibility`.Mazdak Farrokhzad-53/+69
2019-09-30syntax: misc cleanupMazdak Farrokhzad-44/+30
2019-09-30syntax: cleanup `parse_fn_decl`.Mazdak Farrokhzad-6/+3
2019-09-30syntax: reorder param parsing to make more sense.Mazdak Farrokhzad-153/+153
2019-09-30syntax refactor `parse_self_param` (5)Mazdak Farrokhzad-22/+21
2019-09-30syntax refactor `parse_self_param` (4)Mazdak Farrokhzad-30/+37
2019-09-30syntax refactor `parse_self_param` (3)Mazdak Farrokhzad-28/+20
2019-09-30syntax refactor `parse_self_param` (2)Mazdak Farrokhzad-11/+16
2019-09-30syntax refactor `parse_self_param` (1)Mazdak Farrokhzad-12/+13
2019-09-30syntax refactor `parse_fn_params`Mazdak Farrokhzad-28/+29
2019-09-30Auto merge of #64881 - RalfJung:miri, r=RalfJungbors-5/+10
bump Miri Fixes https://github.com/rust-lang/rust/issues/64798
2019-09-30syntax: `is_named_argument` -> `is_named_param`.Mazdak Farrokhzad-2/+2
2019-09-30syntax: cleanup method parsing.Mazdak Farrokhzad-74/+66
2019-09-30Cleaned up a few doc comments in libfmt_macros.Alexander Regueiro-3/+3
2019-09-30Fixed stylistic convention for one diagnostic and blessed tests.Alexander Regueiro-4/+4
2019-09-30Fixed grammar in one diagnostic and blessed tests.Alexander Regueiro-39/+43
2019-09-30Fixed weird non-sequential indices for serialisation of `SourceFile` type.Alexander Regueiro-16/+15
2019-09-30Added backticks for one diagnostic message.Alexander Regueiro-1/+1
2019-09-30Fixed grammar for some `time` fn calls and a diagnostic.Alexander Regueiro-8/+8
2019-09-30Avoid `chain()` in `find_constraint_paths_between_regions()`.Nicholas Nethercote-18/+22
This iterator can be hot, and chained iterators are slow. The second half of the chain is almost always empty, so this commit changes the code to avoid the chained iteration. This change reduces instruction counts for the `wg-grammar` benchmark by up to 1.5%.
2019-09-29Auto merge of #64673 - Mark-Simulacrum:opt-match-ck, r=oli-obkbors-2/+16
Optimize try_eval_bits to avoid layout queries This specifically targets match checking, but is possibly more widely useful as well. In code with large, single-value match statements, we were previously spending a lot of time running layout_of for the primitive types (integers, chars) -- which is essentially useless. This optimizes the code to avoid those query calls by directly obtaining the size for these types, when possible. It may be worth considering adding a `size_of` query in the future which might be far faster, especially if specialized for "const" cases -- match arms being the most obvious example. It's possibly such a function would benefit from *not* being a query as well, since it's trivially evaluatable from the sty for many cases whereas a query needs to hash the input and such.
2019-09-29Optimize try_eval_bits to avoid layout queriesMark Rousskov-2/+16
This specifically targets match checking, but is possibly more widely useful as well. In code with large, single-value match statements, we were previously spending a lot of time running layout_of for the primitive types (integers, chars) -- which is essentially useless. This optimizes the code to avoid those query calls by directly obtaining the size for these types, when possible. It may be worth considering adding a `size_of` query in the future which might be far faster, especially if specialized for "const" cases -- match arms being the most obvious example. It's possibly such a function would benefit from *not* being a query as well, since it's trivially evaluatable from the sty for many cases whereas a query needs to hash the input and such.
2019-09-29rustdoc: Fix default logo filenameOliver Middleton-1/+1
2019-09-29Use https for curl when building for linuxTyler Mandry-2/+4