about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2018-06-17Auto merge of #51466 - joshlf:ref-split, r=dtolnaybors-19/+185
Add Ref/RefMut map_split method As proposed [here](https://internals.rust-lang.org/t/make-refcell-support-slice-splitting/7707). TLDR: Add a `map_split` method that allows multiple `RefMut`s to exist simultaneously so long as they refer to non-overlapping regions of the original `RefCell`. This is useful for things like the slice `split_at_mut` method.
2018-06-17Auto merge of #51382 - GuillaumeGomez:intra-link-lint, r=QuietMisdreavusbors-11/+133
Add lint for intra link resolution failure This PR is almost done, just remains this note: ``` note: requested on the command line with `-W intra-link-resolution-failure` ``` I have no idea why my lint is considered as being passed through command line and wasn't able to find where it was set. If anyone has an idea, it'd be very helpful! cc @QuietMisdreavus
2018-06-16Auto merge of #51596 - Mark-Simulacrum:bootstrap-racy-tests, r=petrochenkovbors-1/+5
Prevent Windows filesystem races in bootstrap tests Fixes #51595. This also makes bootstrap tests run near last in `./x.py test` invocations since they are unlikely to fail. r? @petrochenkov
2018-06-16Auto merge of #51594 - eddyb:issue-51582, r=nagisabors-2/+37
rustc_codegen_llvm: don't treat i1 as signed, even for #[repr(i8)] enums. Fixes #51582. r? @nagisa cc @nox @oli-obk
2018-06-16Auto merge of #51558 - Manishearth:manish-is-stupid, r=oli-obkbors-1/+1
Fix my comment on editions me = idiot r? @oli-obk
2018-06-16Auto merge of #51584 - QuietMisdreavus:globs-and-crosses, r=ollie27bors-0/+60
rustdoc: process cross-crate glob re-exports Turns out, we were deliberately ignoring glob re-exports when they were occurring across crates, even though we were fully processing them for local re-exports. This will at least bring the two into parity. Fixes https://github.com/rust-lang/rust/issues/51252
2018-06-16Prevent Windows filesystem races in bootstrap testsMark Simulacrum-0/+3
2018-06-16Move bootstrap tests to the end of the default test runMark Simulacrum-1/+2
Since they are unlikely to fail and are almost never going to fail except with bootstrap changes (which would be tested locally anyway) it makes sense to run these tests close to last.
2018-06-16Auto merge of #51591 - pietroalbini:release-notes-fix, r=Mark-Simulacrumbors-7/+0
Remove `?` macro separator compatibility note from 1.27 release notes The implementation has been reverted in https://github.com/rust-lang/rust/pull/51417, so this no longer applies to 1.27.0. r? @Mark-Simulacrum
2018-06-16rustc_codegen_llvm: don't treat i1 as signed, even for #[repr(i8)] enums.Eduard-Mihai Burtescu-2/+37
2018-06-16Remove `?` macro separator compatibility note from 1.27 release notesPietro Albini-7/+0
The implementation has been reverted.
2018-06-16Auto merge of #51562 - SimonSapin:transparent, r=cramertjbors-237/+9
Stabilize #[repr(transparent)] Tracking issue FCP: https://github.com/rust-lang/rust/issues/43036#issuecomment-394094318 Reference PR: https://github.com/rust-lang-nursery/reference/pull/353
2018-06-16Auto merge of #51550 - eddyb:queries-not-maps, r=nikomatsakisbors-209/+247
rustc: rename ty::maps to ty::query. Should've never been `maps` but "query system/engine" didn't fully settle from the start. r? @michaelwoerister or @nikomatsakis
2018-06-16Auto merge of #51581 - GuillaumeGomez:keyword-doc, r=QuietMisdreavusbors-2/+84
Keyword doc Part of #51451. r? @QuietMisdreavus
2018-06-16Auto merge of #51411 - nnethercote:process_predicate, r=nikomatsakisbors-307/+319
Speed up obligation forest code Here are the rustc-perf benchmarks that get at least a 1% speedup on one or more of their runs with these patches applied: ``` inflate-check avg: -8.7% min: -12.1% max: 0.0% inflate avg: -5.9% min: -8.6% max: 1.1% inflate-opt avg: -1.5% min: -2.0% max: -0.3% clap-rs-check avg: -0.6% min: -1.9% max: 0.5% coercions avg: -0.2%? min: -1.3%? max: 0.6%? serde-opt avg: -0.6% min: -1.0% max: 0.1% coercions-check avg: -0.4%? min: -1.0%? max: -0.0%? ```
2018-06-15process cross-crate glob re-exportsQuietMisdreavus-0/+60
2018-06-15Auto merge of #51462 - Havvy:refactor-cmp, r=nikomatsakisbors-3/+5
Refactor: Rename ExistentialPredicate::cmp to ExistentialPredicate::stable_cmp See https://github.com/rust-lang/rust/pull/51276#discussion_r193549404 for rationale. Because stable_cmp takes three arguments and Ord::cmp takes two, I am confident that there is no shadowing happening here. r? @nikomatsakis
2018-06-16Add rustdoc-js tester should-fail optionGuillaume Gomez-1/+46
2018-06-15Fix search fn keywordGuillaume Gomez-1/+5
2018-06-15Add doc for fn keywordGuillaume Gomez-0/+33
2018-06-15Auto merge of #50296 - cmdd:master, r=nikomatsakisbors-0/+14
Add error message for using >= 65535 hashes for raw string literal escapes Fixes #50111.
2018-06-15Auto merge of #51565 - kennytm:fix-toolstate-on-appveyor, r=Mark-Simulacrumbors-1/+1
Fix the recent spurious breakage on AppVeyor. Fixed the spurious error introduced by d2b5b7603b6b7ecb4ff93981c785aef640015e68 due to a wrongly resolved relative path on AppVeyor. This only starts to happen today because we just entered the last week of the 6-week cycle.
2018-06-15Fix issue on unixGuillaume Gomez-0/+1
2018-06-15Fix checkregression breakage of toolstate builder on AppVeyor.kennytm-1/+1
2018-06-14Fix comment on editionsManish Goregaokar-1/+1
2018-06-14rustc: rename ty::maps to ty::query.Eduard-Mihai Burtescu-209/+247
2018-06-13Auto merge of #51542 - ccesare:remove_update-reference, r=oli-obkbors-234/+0
Removed various update-reference and update-all-references scripts A PR that addresses #50853 changes that made `update-reference` and `update-all-references` scripts obsolete.
2018-06-13Removed various update-reference and update-all-references scriptsChris Cesare-234/+0
2018-06-13Add missing allow_missing_docsGuillaume Gomez-0/+1
2018-06-13Rename intra-doc lintGuillaume Gomez-10/+10
2018-06-13Auto merge of #51532 - MajorBreakfast:task-future, r=cramertjbors-18/+19
Improve core::task::TaskObj - Rename `UnsafePoll` to `UnsafeTask` to avoid confusion with `Poll` - Rename `TaskObj::from_poll_task()` to `TaskObj::new()` - Rename `TaskObj`'s `poll` and `drop` fields to `poll_fn` and `drop_fn` - Implement `Future` for `TaskObj`. Reason: It's a custom trait object for a future, so it should implement future - Remove `unsafe impl Sync` for `TaskObj`. I don't think we need it. Was this safe? `UnsafeTask` only requires to implement `Send` @cramertj @aturon
2018-06-13Update help message to escape square bracketsGuillaume Gomez-15/+15
2018-06-13Fix rustdoc test failureGuillaume Gomez-2/+2
2018-06-13Add help for intra-link lintGuillaume Gomez-3/+25
2018-06-13Fix options issuesGuillaume Gomez-18/+49
2018-06-13Auto merge of #51539 - dhiru30:patch-1, r=estebankbors-3/+3
Update README.md Corrected the grammar of the document.
2018-06-13Add Ref/RefMut map_split methodJoshua Liebow-Feeser-19/+185
2018-06-13Update README.mdDhirendra Kumar Kashyap-3/+3
2018-06-13Update README.mdDhirendra Kumar Kashyap-6/+6
Corrected the grammar of the document.
2018-06-13Auto merge of #51531 - Havvy:patch-1, r=kennytmbors-1/+0
Remove stray commented one use statement [Insert embarrassed face here]
2018-06-13Auto merge of #51527 - kennytm:do-not-auto-hide-inherent-impl, r=GuillaumeGomezbors-24/+25
Don't auto-hide inherent impls even if `rustdoc-collapse == true`. This PR changes the auto-collapse behavior when a page is first loaded: * Inherent impls will never be collapsed by default (new behavior). * Trait impls will always be collapsed by default, same as before. * Other items are collapsed according to localStorage, same as before. This should be much more useful since there is no hint what the content of a collapsed inherent impl would be (try to collapse everything in https://doc.rust-lang.org/std/vec/struct.Vec.html and guess where a method like `try_reserve` or `splice` would be). Manually clicking the global [-]/[+] will still collapse/expand everything.
2018-06-13Don't auto-hide inherent impls even if `rustdoc-collapse == true`.kennytm-24/+25
2018-06-13Improve core::task::TaskObjJosef Reinhard Brandl-18/+19
2018-06-13Remove stray commented one use statementRyan Scheel-1/+0
[Insert embarrassed face here]
2018-06-13Auto merge of #50941 - kennytm:never-ok, r=sfacklerbors-19/+4
Replace `core::iter::AlwaysOk<T>` by `Result<T, !>` #43278 has been fixed, so we don't need this struct anymore. (Actually we don't even need `.unwrap()` thanks to `#![feature(exhaustive_patterns)]`)
2018-06-13Replace `core::iter::AlwaysOk<T>` by `Result<T, !>`kennytm-19/+4
2018-06-12Auto merge of #51521 - Mark-Simulacrum:rollup, r=Mark-Simulacrumbors-3/+188
Rollup of 3 pull requests Successful merges: - #51261 (Updated RELEASES.md for 1.27.0) - #51502 (Make parse_seq_to_end and parse_path public) - #51510 (Long diagnostic for E0538) Failed merges:
2018-06-12Rollup merge of #51510 - Havvy:diagnostic-list, r=GuillaumeGomezMark Rousskov-1/+30
Long diagnostic for E0538 r? @GuillaumeGomez
2018-06-12Rollup merge of #51502 - jebrosen:pub_parse_methods, r=Mark-SimulacrumMark Rousskov-2/+2
Make parse_seq_to_end and parse_path public (see SergioBenitez/Rocket#660, rust-lang/rust#51265) Rocket currently uses `parse_seq_to_end` and `parse_path` in its codegen macros. Assuming I tested correctly, this is the minimal set of methods that are currently necessary to build Rocket again. I would be happy to add documentation of this and Rocket's other usages, if desired.
2018-06-12Rollup merge of #51261 - Aaronepower:master, r=Mark-SimulacrumMark Rousskov-0/+156
Updated RELEASES.md for 1.27.0 [Rendered](https://github.com/Aaronepower/rust/blob/master/RELEASES.md) r? @Mark-Simulacrum cc @rust-lang/release