-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 14 pull requests #49620
Rollup of 14 pull requests #49620
Commits on Mar 26, 2018
-
Configuration menu - View commit details
-
Copy full SHA for c08902b - Browse repository at this point
Copy the full SHA c08902bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ecaf1f5 - Browse repository at this point
Copy the full SHA ecaf1f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 101e17d - Browse repository at this point
Copy the full SHA 101e17dView commit details
Commits on Mar 30, 2018
-
Configuration menu - View commit details
-
Copy full SHA for adaaeea - Browse repository at this point
Copy the full SHA adaaeeaView commit details -
Configuration menu - View commit details
-
Copy full SHA for d0eeb29 - Browse repository at this point
Copy the full SHA d0eeb29View commit details
Commits on Mar 31, 2018
-
Add test for rustdoc ignore test
This will check for regression on issue rust-lang#32556
Configuration menu - View commit details
-
Copy full SHA for fa1d125 - Browse repository at this point
Copy the full SHA fa1d125View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48e3c96 - Browse repository at this point
Copy the full SHA 48e3c96View commit details -
Add #[must_use] to a few standard library methods
Chosen to start a precedent of using it on ones that are potentially-expensive and where using it for side effects is particularly discouraged. Discuss :)
Configuration menu - View commit details
-
Copy full SHA for fb7deda - Browse repository at this point
Copy the full SHA fb7dedaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 42bc071 - Browse repository at this point
Copy the full SHA 42bc071View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb30975 - Browse repository at this point
Copy the full SHA cb30975View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44ad8fd - Browse repository at this point
Copy the full SHA 44ad8fdView commit details
Commits on Apr 1, 2018
-
avoid IdxSets containing garbage above the universe length
This makes sure that all bits in each IdxSet between the universe length and the end of the word are all zero instead of being in an indeterminate state. This fixes a crash with RUST_LOG=rustc_mir, and is probably a good idea anyway.
Configuration menu - View commit details
-
Copy full SHA for 8f9ec1c - Browse repository at this point
Copy the full SHA 8f9ec1cView commit details
Commits on Apr 2, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 8531086 - Browse repository at this point
Copy the full SHA 8531086View commit details -
Configuration menu - View commit details
-
Copy full SHA for c54a272 - Browse repository at this point
Copy the full SHA c54a272View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec71453 - Browse repository at this point
Copy the full SHA ec71453View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9cc030 - Browse repository at this point
Copy the full SHA f9cc030View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2a0f21 - Browse repository at this point
Copy the full SHA a2a0f21View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2ed9dd - Browse repository at this point
Copy the full SHA b2ed9ddView commit details
Commits on Apr 3, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 58217ed - Browse repository at this point
Copy the full SHA 58217edView commit details -
Fix "since" version for getpid feature.
It was stabilized right before the beta branch was cut for 1.26.0. See rust-lang#49523 (comment)
Configuration menu - View commit details
-
Copy full SHA for 9ab5788 - Browse repository at this point
Copy the full SHA 9ab5788View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5c4265 - Browse repository at this point
Copy the full SHA f5c4265View commit details -
Remove an outdated claim about passing something or other to a function. Also swap the variable names in the example.
Configuration menu - View commit details
-
Copy full SHA for 93a3e93 - Browse repository at this point
Copy the full SHA 93a3e93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 333b0a0 - Browse repository at this point
Copy the full SHA 333b0a0View commit details -
Rollup merge of rust-lang#49179 - varkor:future-deprecation, r=QuietM…
…isdreavus,GuillaumeGomez Handle future deprecation annotations This adds special handling to the `since` parameter of the `deprecated` attribute: in particular, if the `since` version exceeds the version of the compiler, the deprecation notice will not be printed; but a note is added to the documentation stating that the item will be deprecated in a later version. (I've used `since` for this, rather than adding a new attribute, because it's more seamless and, I feel, intuitive. Plus it involves less code churn.) ![image](https://user-images.githubusercontent.com/3943692/37611317-ef5cdf16-2b99-11e8-8251-e35e8f7b0137.png) ![image](https://user-images.githubusercontent.com/3943692/37611323-f748c2d0-2b99-11e8-966b-11408c73d416.png) This is a prerequisite for doing things renaming methods in the standard library (e.g. rust-lang#30459). Resolves rust-lang#30785.
Configuration menu - View commit details
-
Copy full SHA for 5f50da5 - Browse repository at this point
Copy the full SHA 5f50da5View commit details -
Rollup merge of rust-lang#49512 - GuillaumeGomez:intra-links-fields, …
…r=QuietMisdreavus Add support for variant and types fields for intra links Part of rust-lang#43466. r? @QuietMisdreavus
Configuration menu - View commit details
-
Copy full SHA for 8f21773 - Browse repository at this point
Copy the full SHA 8f21773View commit details -
Rollup merge of rust-lang#49516 - GuillaumeGomez:add-union-field-miss…
…ing-anchor, r=QuietMisdreavus Add missing anchor for union type fields r? @QuietMisdreavus
Configuration menu - View commit details
-
Copy full SHA for 7018dd8 - Browse repository at this point
Copy the full SHA 7018dd8View commit details -
Rollup merge of rust-lang#49532 - Phlosioneer:32556-rustdoc-regressio…
…n-test, r=GuillaumeGomez Add test for rustdoc ignore test This will check for regression on issue rust-lang#32556
Configuration menu - View commit details
-
Copy full SHA for 22a9e7b - Browse repository at this point
Copy the full SHA 22a9e7bView commit details -
Rollup merge of rust-lang#49533 - scottmcm:more-must-use, r=nikomatsakis
Add #[must_use] to a few standard library methods Chosen to start a precedent of using it on ones that are potentially-expensive and where using it for side effects is particularly discouraged. Discuss :) ```rust warning: unused return value of `std::iter::Iterator::collect` which must be used: if you really need to exhaust the iterator, consider `.for_each(drop)` instead --> $DIR/fn_must_use_stdlib.rs:19:5 | LL | "1 2 3".split_whitespace().collect::<Vec<_>>(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: unused return value of `std::borrow::ToOwned::to_owned` which must be used: cloning is often expensive and is not expected to have side effects --> $DIR/fn_must_use_stdlib.rs:21:5 | LL | "hello".to_owned(); | ^^^^^^^^^^^^^^^^^^^ warning: unused return value of `std::clone::Clone::clone` which must be used: cloning is often expensive and is not expected to have side effects --> $DIR/fn_must_use_stdlib.rs:23:5 | LL | String::from("world").clone(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ``` cc rust-lang#48926
Configuration menu - View commit details
-
Copy full SHA for 6a52d57 - Browse repository at this point
Copy the full SHA 6a52d57View commit details -
Rollup merge of rust-lang#49570 - arielb1:bounded-universe, r=nikomat…
…sakis avoid IdxSets containing garbage above the universe length This makes sure that all bits in each IdxSet between the universe length and the end of the word are all zero instead of being in an indeterminate state. This fixes a crash with RUST_LOG=rustc_mir, and is probably a good idea anyway. r? @nikomatsakis - I think you are responsible for this code area now?
Configuration menu - View commit details
-
Copy full SHA for 74ed5ac - Browse repository at this point
Copy the full SHA 74ed5acView commit details -
Rollup merge of rust-lang#49594 - mbrubeck:docs, r=steveklabnik
Add some performance guidance to std::fs and std::io docs Adds more documentation about performance to various "read" functions in `fs` and `io`, and to `BufReader`/`BufWriter`, with the goal of helping developers choose the best option for a given task. r? @steveklabnik
Configuration menu - View commit details
-
Copy full SHA for 20238ef - Browse repository at this point
Copy the full SHA 20238efView commit details -
Rollup merge of rust-lang#49599 - rolfvandekrol:feature/no_ru, r=frew…
…sxcv Fix typo In `libstd/io/buffered.rs` one example was marked as `no_ru` instead of `no_run`. I assume this is a typo.
Configuration menu - View commit details
-
Copy full SHA for bad5fdf - Browse repository at this point
Copy the full SHA bad5fdfView commit details -
Rollup merge of rust-lang#49603 - GuillaumeGomez:fix-intra-link-trait…
…-provided-method, r=QuietMisdreavus Fix url for intra link provided method Fixes rust-lang#49582. r? @QuietMisdreavus
Configuration menu - View commit details
-
Copy full SHA for ec8cde6 - Browse repository at this point
Copy the full SHA ec8cde6View commit details -
Rollup merge of rust-lang#49609 - abonander:attr-macro-stmt-expr, r=p…
…etrochenkov run-pass/attr-stmt-expr: expand test cases Follow-up to rust-lang#49124 (comment) r? @petrochenkov
Configuration menu - View commit details
-
Copy full SHA for 933c9f5 - Browse repository at this point
Copy the full SHA 933c9f5View commit details -
Rollup merge of rust-lang#49612 - tmccombs:stabilize-getpid, r=kennytm
Fix "since" version for getpid feature. It was stabilized right before the beta branch was cut for 1.26.0. See rust-lang#49523 (comment) This will need to be backported to beta (1.26.0)
Configuration menu - View commit details
-
Copy full SHA for 480f3bf - Browse repository at this point
Copy the full SHA 480f3bfView commit details -
Rollup merge of rust-lang#49618 - pftbest:fix_warning, r=SimonSapin
Fix build error when compiling libcore for 16bit targets Fixes rust-lang#49617 cc @SimonSapin
Configuration menu - View commit details
-
Copy full SHA for 572fabd - Browse repository at this point
Copy the full SHA 572fabdView commit details -
This includes search for all books, a long-requested feature!
Configuration menu - View commit details
-
Copy full SHA for 3d9b3e3 - Browse repository at this point
Copy the full SHA 3d9b3e3View commit details -
Rollup merge of rust-lang#49619 - durka:patch-46, r=steveklabnik
tweak core::fmt docs Remove an outdated (pre-1.0!) claim about passing something or other to a function. Also swap the variable names in the example.
Configuration menu - View commit details
-
Copy full SHA for feb7e4a - Browse repository at this point
Copy the full SHA feb7e4aView commit details -
Rollup merge of rust-lang#49623 - steveklabnik:update-mdbook, r=Guill…
…aumeGomez update mdbook This includes search for all books, a long-requested feature!
Configuration menu - View commit details
-
Copy full SHA for fa5d2e2 - Browse repository at this point
Copy the full SHA fa5d2e2View commit details