-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 25 pull requests #56547
Rollup of 25 pull requests #56547
Commits on Nov 21, 2018
-
Bastian Gruber committed
Nov 21, 2018 Configuration menu - View commit details
-
Copy full SHA for 700c83b - Browse repository at this point
Copy the full SHA 700c83bView commit details -
Bastian Gruber committed
Nov 21, 2018 Configuration menu - View commit details
-
Copy full SHA for 072bca3 - Browse repository at this point
Copy the full SHA 072bca3View commit details -
Bastian Gruber committed
Nov 21, 2018 Configuration menu - View commit details
-
Copy full SHA for 88a708d - Browse repository at this point
Copy the full SHA 88a708dView commit details -
Bastian Gruber committed
Nov 21, 2018 Configuration menu - View commit details
-
Copy full SHA for 5c747eb - Browse repository at this point
Copy the full SHA 5c747ebView commit details -
Bastian Gruber committed
Nov 21, 2018 Configuration menu - View commit details
-
Copy full SHA for e8dafba - Browse repository at this point
Copy the full SHA e8dafbaView commit details -
Bastian Gruber committed
Nov 21, 2018 Configuration menu - View commit details
-
Copy full SHA for 7933628 - Browse repository at this point
Copy the full SHA 7933628View commit details -
Configuration menu - View commit details
-
Copy full SHA for c209ed8 - Browse repository at this point
Copy the full SHA c209ed8View commit details
Commits on Nov 26, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 47b5e23 - Browse repository at this point
Copy the full SHA 47b5e23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86d20f9 - Browse repository at this point
Copy the full SHA 86d20f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5558c07 - Browse repository at this point
Copy the full SHA 5558c07View commit details
Commits on Nov 27, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 7b429b0 - Browse repository at this point
Copy the full SHA 7b429b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8125149 - Browse repository at this point
Copy the full SHA 8125149View commit details -
Configuration menu - View commit details
-
Copy full SHA for afb4fbd - Browse repository at this point
Copy the full SHA afb4fbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a7ffe2 - Browse repository at this point
Copy the full SHA 4a7ffe2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9755410 - Browse repository at this point
Copy the full SHA 9755410View commit details -
Configuration menu - View commit details
-
Copy full SHA for 097b5db - Browse repository at this point
Copy the full SHA 097b5dbView commit details
Commits on Nov 28, 2018
-
Configuration menu - View commit details
-
Copy full SHA for dd717de - Browse repository at this point
Copy the full SHA dd717deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8062c7a - Browse repository at this point
Copy the full SHA 8062c7aView commit details
Commits on Nov 29, 2018
-
Configuration menu - View commit details
-
Copy full SHA for afe4107 - Browse repository at this point
Copy the full SHA afe4107View commit details
Commits on Nov 30, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 1560a75 - Browse repository at this point
Copy the full SHA 1560a75View commit details -
Configuration menu - View commit details
-
Copy full SHA for d92287a - Browse repository at this point
Copy the full SHA d92287aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f5b8ea - Browse repository at this point
Copy the full SHA 4f5b8eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6000c2e - Browse repository at this point
Copy the full SHA 6000c2eView commit details
Commits on Dec 1, 2018
-
use top level
fs
functions where appropriateThis commit replaces many usages of `File::open` and reading or writing with `fs::read_to_string`, `fs::read` and `fs::write`. This reduces code complexity, and will improve performance for most reads, since the functions allocate the buffer to be the size of the file. I believe that this commit will not impact behavior in any way, so some matches will check the error kind in case the file was not valid UTF-8. Some of these cases may not actually care about the error.
Configuration menu - View commit details
-
Copy full SHA for d809d21 - Browse repository at this point
Copy the full SHA d809d21View commit details
Commits on Dec 2, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 23abd18 - Browse repository at this point
Copy the full SHA 23abd18View commit details -
pass the parameter environment to
traits::find_associated_item
dropping the param-env on the floor is obviously the wrong thing to do. The ICE was probably exposed by rust-lang#54490 adding the problem-exposing use of `traits::find_associated_item`. Fixes rust-lang#55380.
Configuration menu - View commit details
-
Copy full SHA for 59e9a1e - Browse repository at this point
Copy the full SHA 59e9a1eView commit details
Commits on Dec 3, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 380dd7d - Browse repository at this point
Copy the full SHA 380dd7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d4b41fa - Browse repository at this point
Copy the full SHA d4b41faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 38e21f9 - Browse repository at this point
Copy the full SHA 38e21f9View commit details -
Introduce constraint category for yields.
This commit adds a new `ConstraintCategory` for yield points - this allows for differentiation between a normal return and a yield in the diagnostics.
Configuration menu - View commit details
-
Copy full SHA for a8a1bf9 - Browse repository at this point
Copy the full SHA a8a1bf9View commit details -
This commit puts a fix in place for the ICE in region naming code so that it doesn't break the compiler. However, this results in the diagnostic being poorer as the borrow explanation that was causing the ICE is not being added - this should be fixed as a follow-up.
Configuration menu - View commit details
-
Copy full SHA for 9acfbb2 - Browse repository at this point
Copy the full SHA 9acfbb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fb82b5 - Browse repository at this point
Copy the full SHA 1fb82b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 651373c - Browse repository at this point
Copy the full SHA 651373cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c8802d - Browse repository at this point
Copy the full SHA 9c8802dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b40be6 - Browse repository at this point
Copy the full SHA 0b40be6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 101467c - Browse repository at this point
Copy the full SHA 101467cView commit details -
`CrateRoot` -> `PathRoot`, `::` doesn't necessarily mean crate root now `SelfValue` -> `SelfLower`, `SelfType` -> `SelfUpper`, both `self` and `Self` can be used in type and value namespaces now
Configuration menu - View commit details
-
Copy full SHA for 08f8fae - Browse repository at this point
Copy the full SHA 08f8faeView commit details -
syntax: Remove
#[non_exhaustive]
fromEdition
`Edition` is not a public API, we want users to break when a new edition is added
Configuration menu - View commit details
-
Copy full SHA for d415844 - Browse repository at this point
Copy the full SHA d415844View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f253f5 - Browse repository at this point
Copy the full SHA 3f253f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for d08f7dc - Browse repository at this point
Copy the full SHA d08f7dcView commit details
Commits on Dec 4, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 65aa0a6 - Browse repository at this point
Copy the full SHA 65aa0a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc7c3dc - Browse repository at this point
Copy the full SHA bc7c3dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fab3f9 - Browse repository at this point
Copy the full SHA 6fab3f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad76569 - Browse repository at this point
Copy the full SHA ad76569View commit details -
Bastian Gruber committed
Dec 4, 2018 Configuration menu - View commit details
-
Copy full SHA for 450a8a6 - Browse repository at this point
Copy the full SHA 450a8a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c4129c - Browse repository at this point
Copy the full SHA 8c4129cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e41e85c - Browse repository at this point
Copy the full SHA e41e85cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d0c64bb - Browse repository at this point
Copy the full SHA d0c64bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e448713 - Browse repository at this point
Copy the full SHA e448713View commit details -
Configuration menu - View commit details
-
Copy full SHA for f30ba07 - Browse repository at this point
Copy the full SHA f30ba07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9012af6 - Browse repository at this point
Copy the full SHA 9012af6View commit details -
Added a bare-bones eslint config (removing jslint)
This change removes the small bit of jslint config, replacing it with eslint. I've currently configured eslint to mostly only report the more serious of lints, although there are still some style nits turned on. Upcoming changes will start fixing lints.
Configuration menu - View commit details
-
Copy full SHA for 56ace3e - Browse repository at this point
Copy the full SHA 56ace3eView commit details
Commits on Dec 5, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 5d7cf59 - Browse repository at this point
Copy the full SHA 5d7cf59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3512fb0 - Browse repository at this point
Copy the full SHA 3512fb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cfbb5b - Browse repository at this point
Copy the full SHA 6cfbb5bView commit details -
Use inner iterator may_have_side_effect for Cloned
Previous implementation wasn't correct, as an inner iterator could have had side effects.
Configuration menu - View commit details
-
Copy full SHA for 3eddc74 - Browse repository at this point
Copy the full SHA 3eddc74View commit details -
Configuration menu - View commit details
-
Copy full SHA for a964307 - Browse repository at this point
Copy the full SHA a964307View commit details -
Rollup merge of rust-lang#51753 - gruberb:document-from-conversions-l…
…ibstdpath, r=QuietMisdreavus Document `From` implementations This PR is solves part of rust-lang#51430. It's my first PR, so I might need some guidance from @skade (as already mentioned in the issue). The purpose of the PR is to document the `impl From` inside `path.rs` and answering the questions: - What does it convert? - Does it allocate memory? - How expensive are the allocations? I gave it a first shot, though an experienced rust developer might want to look over it.
Configuration menu - View commit details
-
Copy full SHA for 9ee29d9 - Browse repository at this point
Copy the full SHA 9ee29d9View commit details -
Rollup merge of rust-lang#55563 - GuillaumeGomez:doc-search-sentence,…
… r=QuietMisdreavus Improve no result found sentence in doc search Fixes rust-lang#55531. Look: <img width="1440" alt="screenshot 2018-11-01 at 02 21 56" src="https://user-images.githubusercontent.com/3050060/47827257-f6236c80-dd7c-11e8-9ea9-99c8cb4b2de5.png"> r? @QuietMisdreavus
Configuration menu - View commit details
-
Copy full SHA for 731e365 - Browse repository at this point
Copy the full SHA 731e365View commit details -
Rollup merge of rust-lang#55987 - Thomasdezeeuw:weak-ptr_eq, r=sfackler
Add Weak.ptr_eq I hope the doc tests alone are good enough. We also might want to discuss the dangling pointer case (from `Weak::new()`). Updates rust-lang#55981.
Configuration menu - View commit details
-
Copy full SHA for 02ec8d0 - Browse repository at this point
Copy the full SHA 02ec8d0View commit details -
Rollup merge of rust-lang#56119 - frewsxcv:frewsxcv-option-carrier, r…
…=TimNN Utilize `?` instead of `return None`. None
Configuration menu - View commit details
-
Copy full SHA for 76e8ce2 - Browse repository at this point
Copy the full SHA 76e8ce2View commit details -
Rollup merge of rust-lang#56250 - dwijnand:ptr-hash, r=alexcrichton
Introduce ptr::hash for references The RHS is what I used, which wasn't as convenient as `ptr::eq`, so I wondered: should `ptr::hash` exist? My first Rust PR, so I'm going to need some guidance. :)
Configuration menu - View commit details
-
Copy full SHA for ec16058 - Browse repository at this point
Copy the full SHA ec16058View commit details -
Rollup merge of rust-lang#56258 - euclio:fs-read-write, r=Mark-Simula…
…crum use top level `fs` functions where appropriate This commit replaces many usages of `File::open` and reading or writing with `fs::read_to_string`, `fs::read` and `fs::write`. This reduces code complexity, and will improve performance for most reads, since the functions allocate the buffer to be the size of the file. I believe that this commit will not impact behavior in any way, so some matches will check the error kind in case the file was not valid UTF-8. Some of these cases may not actually care about the error.
Configuration menu - View commit details
-
Copy full SHA for cb6102f - Browse repository at this point
Copy the full SHA cb6102fView commit details -
Rollup merge of rust-lang#56332 - GuillaumeGomez:specifi-crate-search…
…, r=QuietMisdreavus [rustdoc] Specific crate search Reopening of rust-lang#54706. Fixes rust-lang#54616. <img width="1440" alt="screenshot 2018-11-29 at 01 29 11" src="https://user-images.githubusercontent.com/3050060/49191372-979adf80-f376-11e8-963e-e4feb927c1da.png"> r? @QuietMisdreavus
Configuration menu - View commit details
-
Copy full SHA for 3f97a7e - Browse repository at this point
Copy the full SHA 3f97a7eView commit details -
Rollup merge of rust-lang#56372 - wildarch:issue-55314-second-borrow-…
…ref, r=davidtwco Refer to the second borrow as the "second borrow" in E0501.rs Fixes rust-lang#55314. r? @davidtwco
Configuration menu - View commit details
-
Copy full SHA for 907ed9e - Browse repository at this point
Copy the full SHA 907ed9eView commit details -
Rollup merge of rust-lang#56388 - matthewjasper:more-lexical-mir-clea…
…nup, r=nikomatsakis More MIR borrow check cleanup * Fix some rustc doc links * Remove the `region_map` field from `BorrowSet` * Use `visit_local` to find 2PB activations r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for 3296d51 - Browse repository at this point
Copy the full SHA 3296d51View commit details -
Rollup merge of rust-lang#56424 - mark-i-m:explain-raw, r=Centril
Mention raw-ident syntax According to rust-lang#56419 (review) Blocked on rust-lang#56419 r? @Centril
Configuration menu - View commit details
-
Copy full SHA for 5feba0f - Browse repository at this point
Copy the full SHA 5feba0fView commit details -
Rollup merge of rust-lang#56426 - petrochenkov:syntweak, r=nikomatsakis
libsyntax_pos: A few tweaks
Configuration menu - View commit details
-
Copy full SHA for 2e41d46 - Browse repository at this point
Copy the full SHA 2e41d46View commit details -
Rollup merge of rust-lang#56446 - arielb1:special-env-implications, r…
…=nikomatsakis pass the parameter environment to `traits::find_associated_item` dropping the param-env on the floor is obviously the wrong thing to do. The ICE was probably exposed by rust-lang#54490 adding the problem-exposing use of `traits::find_associated_item`. Fixes rust-lang#55380. r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for 3c0d0ed - Browse repository at this point
Copy the full SHA 3c0d0edView commit details -
Rollup merge of rust-lang#56452 - sinkuu:redundant_clone, r=nikic
Remove redundant clones
Configuration menu - View commit details
-
Copy full SHA for 1c97c4b - Browse repository at this point
Copy the full SHA 1c97c4bView commit details -
Rollup merge of rust-lang#56456 - oli-obk:private_impl_trait, r=cramertj
Handle existential types in dead code analysis fixes rust-lang#55124 r? @cramertj
Configuration menu - View commit details
-
Copy full SHA for d71381a - Browse repository at this point
Copy the full SHA d71381aView commit details -
Rollup merge of rust-lang#56460 - davidtwco:issue-55850, r=pnkfelix
Fix ICE with generators and NLL Fix rust-lang#55850. This PR stops an ICE in rust-lang#55850 by not panicking when a region cannot be named. However, this PR does not (yet) fix the underlying issue that the correct name for the test case provided for the issue (in this instance, `'a`) was not found. This PR also lays a little bit of groundwork by categorizing yields separately from returns so that region naming can be specialized for this case. r? @pnkfelix
Configuration menu - View commit details
-
Copy full SHA for 647aa6a - Browse repository at this point
Copy the full SHA 647aa6aView commit details -
Rollup merge of rust-lang#56466 - ljedrz:delete_tuple_slice, r=nikoma…
…tsakis data_structures: remove tuple_slice It looks like we're not using it anywhere.
Configuration menu - View commit details
-
Copy full SHA for 5bfb8bb - Browse repository at this point
Copy the full SHA 5bfb8bbView commit details -
Rollup merge of rust-lang#56476 - GuillaumeGomez:invalid-line-number-…
…match, r=QuietMisdreavus Fix invalid line number match If a code line is longer than the width, it then gets to the next line making the line number not matching it anymore. r? @QuietMisdreavus
Configuration menu - View commit details
-
Copy full SHA for 13ac1f3 - Browse repository at this point
Copy the full SHA 13ac1f3View commit details -
Rollup merge of rust-lang#56497 - ljedrz:cleanup_libstd_const_lifetim…
…es, r=kennytm cleanup: remove static lifetimes from consts in libstd
Configuration menu - View commit details
-
Copy full SHA for ab8843d - Browse repository at this point
Copy the full SHA ab8843dView commit details -
Rollup merge of rust-lang#56498 - GuillaumeGomez:line-numbers, r=Quie…
…tMisdreavus Fix line numbers display Thanks to @talchas for finding the bug and suggesting the solution! r? @QuietMisdreavus
Configuration menu - View commit details
-
Copy full SHA for f39173d - Browse repository at this point
Copy the full SHA f39173dView commit details -
Rollup merge of rust-lang#56500 - ljedrz:cleanup_rest_of_const_lifeti…
…mes, r=zackmdavis cleanup: remove static lifetimes from consts A follow-up to rust-lang#56497.
Configuration menu - View commit details
-
Copy full SHA for 97452d9 - Browse repository at this point
Copy the full SHA 97452d9View commit details -
Rollup merge of rust-lang#56507 - nikomatsakis:polonius-integrate, r=…
…matthewjasper polonius tweaks - bump polonius to 0.6.0 - fix 2-phase-borrow activations r? @matthewjasper
Configuration menu - View commit details
-
Copy full SHA for b1c8db0 - Browse repository at this point
Copy the full SHA b1c8db0View commit details -
Rollup merge of rust-lang#56523 - JohnHeitmann:es6, r=GuillaumeGomez
Added a bare-bones eslint config (removing jslint) This change removes the small bit of jslint config, replacing it with eslint. I've currently configured eslint to mostly only report the more serious of lints, although there are still some style nits turned on. Eslint better supports modern js, and will be a good pre-TypeScript code quality aid. Install eslint with `npm install -g eslint`. Run with `eslint html/static/*.js`, or let your IDE do it. This requires no build step. Upcoming changes will start fixing identified bugs and other lints (mostly unused and var redef issues).
Configuration menu - View commit details
-
Copy full SHA for a05de3c - Browse repository at this point
Copy the full SHA a05de3cView commit details -
Rollup merge of rust-lang#56525 - udoprog:linux-current-exe, r=alexcr…
…ichton Avoid extra copy and syscall in std::env::current_exe
Configuration menu - View commit details
-
Copy full SHA for 1095a26 - Browse repository at this point
Copy the full SHA 1095a26View commit details -
Rollup merge of rust-lang#56528 - sinkuu:unused_dep, r=Mark-Simulacrum
Remove unused dependency (rustc_lint -> rustc_mir)
Configuration menu - View commit details
-
Copy full SHA for 37bf0cb - Browse repository at this point
Copy the full SHA 37bf0cbView commit details -
Rollup merge of rust-lang#56538 - xfix:patch-13, r=bluss
Use inner iterator may_have_side_effect for Cloned Previous implementation wasn't correct, as an inner iterator could have had side effects. Noticed by @bluss in rust-lang#56534.
Configuration menu - View commit details
-
Copy full SHA for 45e1ed8 - Browse repository at this point
Copy the full SHA 45e1ed8View commit details