about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2019-02-09Auto merge of #58207 - nnethercote:intern_lazy_const, r=oli-obkbors-38/+40
Make `intern_lazy_const` actually intern its argument. Currently it just unconditionally allocates it in the arena. For a "Clean Check" build of the the `packed-simd` benchmark, this change reduces both the `max-rss` and `faults` counts by 59%; it slightly (~3%) increases the instruction counts but the `wall-time` is unchanged. For the same builds of a few other benchmarks, `max-rss` and `faults` drop by 1--5%, but instruction counts and `wall-time` changes are in the noise. Fixes #57432, fixes #57829.
2019-02-09fix rebase falloutRalf Jung-40/+45
2019-02-09fix printing closuresRalf Jung-20/+18
2019-02-09fix node classificationRalf Jung-15/+19
2019-02-09fix --emit=mir: StructCtors are functionsRalf Jung-2/+5
2019-02-09disambiguate filenames of multiple drop shims being dumpedRalf Jung-1/+20
2019-02-09pass full InstanceDef to run_passesRalf Jung-55/+60
2019-02-09fix rebase fallout: AnonConsts are Consts, and Methods are functionsRalf Jung-4/+7
2019-02-09fix dumping MIR from another crateRalf Jung-14/+15
2019-02-09use pass infrastructure for mir shims, so that they can get dumpedRalf Jung-8/+13
2019-02-09Auto merge of #57617 - mark-i-m:multiple-matcher-bindings, r=petrochenkovbors-38/+171
Error on duplicate matcher bindings fix #57593 This should not be merged without a crater run and maybe an FCP. Discussion is ongoing at #57593. TODO: - [x] write tests - [x] crater run - [x] ~maybe need edition gating?~ not for 1 regression /centril r? @petrochenkov
2019-02-09Cleanup importsTaiki Endo-3/+2
2019-02-09Move some tests into the tests directoryTaiki Endo-1570/+1568
This moves tests in opaque.rs and tests other than tests that require private items in json.rs into tests/opaque.rs and tests/json.rs.
2019-02-09Some writing improvement, conciseness of introRobert Hayek-4/+3
2019-02-09Auto merge of #57184 - varkor:deny-warnings-lib, r=Mark-Simulacrumbors-2/+1
Deny warnings in libcore and libstd This probably fixes https://github.com/rust-lang/rust/issues/57178 (though there may still be some crates that need warnings denied). At least after this change, rustc currently produces no warnings during compilation. r? @oli-obk
2019-02-09Rollup merge of #58312 - taiki-e:librustc_data_structures-2018, r=CentrilMazdak Farrokhzad-107/+86
librustc_data_structures => 2018 Transitions `librustc_data_structures` to Rust 2018; cc #58099 r? @Centril
2019-02-09Rollup merge of #58285 - taiki-e:error_index_generator-2018, r=CentrilMazdak Farrokhzad-1/+3
error_index_generator => 2018 Transitions `error_index_generator` to Rust 2018; cc #58099 r? @Centril
2019-02-09Rollup merge of #58275 - RalfJung:miri-test-libcore, r=Mark-SimulacrumMazdak Farrokhzad-0/+81
libcore, liballoc: disable tests in Miri I am going to run the libcore and liballoc unit test suites in Miri. Not all tests pass. This PR disables a whole bunch of tests when running in Miri, to get us to a baseline from which I can investigate failures. Cc @SimonSapin @alexcrichton
2019-02-09Rollup merge of #58265 - taiki-e:librustc_mir-2018, r=matthewjasperMazdak Farrokhzad-519/+520
librustc_mir => 2018 Transitions `librustc_mir` to Rust 2018; cc #58099 TODO: ~~elided_lifetimes_in_paths~~ r? @Centril
2019-02-09Rollup merge of #58261 - taiki-e:librustc_incremental-2018, r=CentrilMazdak Farrokhzad-32/+29
librustc_incremental => 2018 Transitions `librustc_incremental` to Rust 2018; cc #58099 r? @Centril
2019-02-09Rollup merge of #58260 - taiki-e:librustc_borrowck-2018, r=CentrilMazdak Farrokhzad-69/+71
librustc_borrowck => 2018 Transitions `librustc_borrowck` to Rust 2018; cc #58099 r? @Centril
2019-02-09Rollup merge of #58259 - taiki-e:librustc_codegen_utils-2018, r=CentrilMazdak Farrokhzad-23/+18
librustc_codegen_utils => 2018 Transitions `librustc_codegen_utils` to Rust 2018; cc #58099 r? @Centril
2019-02-09Rollup merge of #58257 - taiki-e:librustc_target-2018, r=CentrilMazdak Farrokhzad-220/+221
librustc_target => 2018 Transitions `librustc_target` to Rust 2018; cc #58099 r? @Centril
2019-02-09Rollup merge of #58256 - taiki-e:librustc_cratesio_shim-2018, r=CentrilMazdak Farrokhzad-0/+3
librustc_cratesio_shim => 2018 Transitions `librustc_cratesio_shim` to Rust 2018; cc #58099 r? @Centril
2019-02-09Rollup merge of #58255 - taiki-e:librustc_metadata-2018, r=CentrilMazdak Farrokhzad-66/+67
librustc_metadata => 2018 Transitions `librustc_metadata` to Rust 2018; cc #58099 r? @Centril
2019-02-09Rollup merge of #58251 - h-michael:librustc_traits-2018, r=CentrilMazdak Farrokhzad-23/+20
Transition librustc_traits to 2018 edition Transitions librustc_traits to Rust 2018; cc #58099 r? @Centril
2019-02-09Rollup merge of #58247 - taiki-e:librustc_passes-2018, r=CentrilMazdak Farrokhzad-22/+23
librustc_passes => 2018 Transitions `librustc_passes` to Rust 2018; cc #58099 r? @Centril
2019-02-09Rollup merge of #58245 - taiki-e:librustc_lint-2018, r=CentrilMazdak Farrokhzad-100/+108
librustc_lint => 2018 Transitions `librustc_lint` to Rust 2018; cc #58099 r? @Centril
2019-02-09Rollup merge of #58233 - taiki-e:librustc_save_analysis-2018, r=CentrilMazdak Farrokhzad-82/+79
librustc_save_analysis => 2018 Transitions `librustc_save_analysis` to Rust 2018; cc #58099 r? @Centril
2019-02-09Rollup merge of #58222 - taiki-e:librustc_allocator-2018, r=CentrilMazdak Farrokhzad-15/+7
librustc_allocator => 2018 Transitions `librustc_allocator` to Rust 2018; cc #58099 r? @Centril
2019-02-09Rollup merge of #58120 - h-michael:build_helper-theme-2018, r=CentrilMazdak Farrokhzad-0/+3
Transition build_helper to 2018 edition Transitions build_helper to Rust 2018; cc #58099 r? @Centril
2019-02-09Rollup merge of #58115 - h-michael:rustdoc-2018, r=CentrilMazdak Farrokhzad-2/+3
Transition rustdoc to 2018 edition Transitions rustdoc to Rust 2018; cc #58099
2019-02-09Rollup merge of #58091 - phansch:compiletest2018, r=CentrilMazdak Farrokhzad-47/+39
Transition compiletest to Rust 2018 This transitions `src/tools/compiletest` to Rust 2018. cc #58099
2019-02-08Remove trailing white-spacegnzlbg-1/+1
2019-02-08Saturating add/sub intrinsic emulation refactor/comments #58030Patrick McCarter-5/+12
2019-02-08simd-saturating-arith test requires LLVM >= 8.0gnzlbg-3/+3
2019-02-08Auto merge of #58161 - davidtwco:issue-57960, r=arielb1bors-4/+68
Lower constant patterns with ascribed types. Fixes #57960. This PR fixes a bug introduced by #55937 which started checking user type annotations for associated type patterns. Where lowering a associated constant expression would previously return a `PatternKind::Constant`, it now returns a `PatternKind::AscribeUserType` with a `PatternKind::Constant` inside, this PR unwraps that to access the constant pattern inside and behaves as before. r? @pnkfelix
2019-02-09librustc_data_structures => 2018Taiki Endo-107/+86
2019-02-08Move simd intrinsic codegen tests into the simd-intrinsic subdirgnzlbg-0/+0
2019-02-08Add simd_saturating_{add,sub} intrinsicsgnzlbg-9/+895
2019-02-08Deny warnings in std stage 0varkor-2/+1
2019-02-08Extract block to insert an intrinsic into its own functiongnzlbg-12/+17
2019-02-08Don't default on std crate when manipulating browser historyGuillaume Gomez-1/+1
2019-02-08review comments: (marginally) reduce memory consumtionEsteban Küber-12/+68
2019-02-08Auto merge of #58294 - hrls:master, r=GuillaumeGomezbors-1/+1
fix rustdoc JS #58290
2019-02-08Improve stability tags displayGuillaume Gomez-11/+10
2019-02-08Correct descriptive item name for implvarkor-5/+3
2019-02-08librustc_typeck => 2018Taiki Endo-100/+98
2019-02-08Use descriptive variant namevarkor-7/+7
2019-02-08librustc_incremental => 2018Taiki Endo-32/+29