- 10 2月, 2019 3 次提交
-
-
由 Mark Rousskov 提交于
-
由 bors 提交于
Factor out error reporting from `smart_resolve_path_fragment` fn This function was ridiculously monolithic before. We now have three rather-less-monolithic-and-horrifying functions. r? @centril
-
由 bors 提交于
Deduplicate mismatched delimiter errors Delay unmatched delimiter errors until after the parser has run to deduplicate them when parsing and attempt recovering intelligently. Second attempt at #54029, follow up to #53949. Fix #31528.
-
- 09 2月, 2019 25 次提交
-
-
由 bors 提交于
Avoid committing to autoderef in object method probing This fixes the "leak" introduced in #57835 (see test for details, also apparently #54252 had no tests for the "leaks" that were fixed in it, so go ahead and add one). Maybe beta-nominating because regression, but I'm against landing things on beta we don't have to. r? @nikomatsakis
-
由 bors 提交于
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.
-
由 bors 提交于
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
-
由 bors 提交于
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
-
由 bors 提交于
Rollup of 18 pull requests Successful merges: - #58091 (Transition compiletest to Rust 2018) - #58115 (Transition rustdoc to 2018 edition) - #58120 (Transition build_helper to 2018 edition) - #58222 (librustc_allocator => 2018) - #58233 (librustc_save_analysis => 2018) - #58245 (librustc_lint => 2018) - #58247 (librustc_passes => 2018) - #58251 (Transition librustc_traits to 2018 edition) - #58255 (librustc_metadata => 2018) - #58256 (librustc_cratesio_shim => 2018) - #58257 (librustc_target => 2018) - #58259 (librustc_codegen_utils => 2018) - #58260 (librustc_borrowck => 2018) - #58261 (librustc_incremental => 2018) - #58265 (librustc_mir => 2018) - #58275 (libcore, liballoc: disable tests in Miri) - #58285 (error_index_generator => 2018) - #58312 (librustc_data_structures => 2018) Failed merges: r? @ghost
-
由 Mazdak Farrokhzad 提交于
librustc_data_structures => 2018 Transitions `librustc_data_structures` to Rust 2018; cc #58099 r? @Centril
-
由 Mazdak Farrokhzad 提交于
error_index_generator => 2018 Transitions `error_index_generator` to Rust 2018; cc #58099 r? @Centril
-
由 Mazdak Farrokhzad 提交于
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
-
由 Mazdak Farrokhzad 提交于
librustc_mir => 2018 Transitions `librustc_mir` to Rust 2018; cc #58099 TODO: ~~elided_lifetimes_in_paths~~ r? @Centril
-
由 Mazdak Farrokhzad 提交于
librustc_incremental => 2018 Transitions `librustc_incremental` to Rust 2018; cc #58099 r? @Centril
-
由 Mazdak Farrokhzad 提交于
librustc_borrowck => 2018 Transitions `librustc_borrowck` to Rust 2018; cc #58099 r? @Centril
-
由 Mazdak Farrokhzad 提交于
librustc_codegen_utils => 2018 Transitions `librustc_codegen_utils` to Rust 2018; cc #58099 r? @Centril
-
由 Mazdak Farrokhzad 提交于
librustc_target => 2018 Transitions `librustc_target` to Rust 2018; cc #58099 r? @Centril
-
由 Mazdak Farrokhzad 提交于
librustc_cratesio_shim => 2018 Transitions `librustc_cratesio_shim` to Rust 2018; cc #58099 r? @Centril
-
由 Mazdak Farrokhzad 提交于
librustc_metadata => 2018 Transitions `librustc_metadata` to Rust 2018; cc #58099 r? @Centril
-
由 Mazdak Farrokhzad 提交于
Transition librustc_traits to 2018 edition Transitions librustc_traits to Rust 2018; cc #58099 r? @Centril
-
由 Mazdak Farrokhzad 提交于
librustc_passes => 2018 Transitions `librustc_passes` to Rust 2018; cc #58099 r? @Centril
-
由 Mazdak Farrokhzad 提交于
librustc_lint => 2018 Transitions `librustc_lint` to Rust 2018; cc #58099 r? @Centril
-
由 Mazdak Farrokhzad 提交于
librustc_save_analysis => 2018 Transitions `librustc_save_analysis` to Rust 2018; cc #58099 r? @Centril
-
由 Mazdak Farrokhzad 提交于
librustc_allocator => 2018 Transitions `librustc_allocator` to Rust 2018; cc #58099 r? @Centril
-
由 Mazdak Farrokhzad 提交于
Transition build_helper to 2018 edition Transitions build_helper to Rust 2018; cc #58099 r? @Centril
-
由 Mazdak Farrokhzad 提交于
Transition rustdoc to 2018 edition Transitions rustdoc to Rust 2018; cc #58099
-
由 Mazdak Farrokhzad 提交于
Transition compiletest to Rust 2018 This transitions `src/tools/compiletest` to Rust 2018. cc #58099
-
由 bors 提交于
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
-
由 Taiki Endo 提交于
-
- 08 2月, 2019 12 次提交
-
-
由 varkor 提交于
-
由 bors 提交于
fix rustdoc JS #58290
-
由 Taiki Endo 提交于
-
由 Taiki Endo 提交于
-
由 Taiki Endo 提交于
-
由 Taiki Endo 提交于
-
由 Taiki Endo 提交于
-
由 Taiki Endo 提交于
-
由 Taiki Endo 提交于
-
由 Taiki Endo 提交于
-
由 Taiki Endo 提交于
-
由 Taiki Endo 提交于
-