-
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 8 pull requests #48947
Rollup of 8 pull requests #48947
Commits on Mar 7, 2018
-
Impl Integer methods for Wrapping
Wrapping<T> now implements: count_ones, count_zeros, leading_zeros, trailing_zeros, rotate_left, rotate_right, swap_bytes, from_be, from_le, to_be, to_le, and pow where T is: u8, u16, u32, u64, usize, i8, i16, i32, i64, or isize. Docs were written for all these methods, as well as examples. The examples mirror the ones on u8, u16, etc... for consistency. Closes rust-lang#32463
Configuration menu - View commit details
-
Copy full SHA for 7e346df - Browse repository at this point
Copy the full SHA 7e346dfView commit details
Commits on Mar 8, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 02aa39f - Browse repository at this point
Copy the full SHA 02aa39fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 910d855 - Browse repository at this point
Copy the full SHA 910d855View commit details
Commits on Mar 9, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 93ab8c2 - Browse repository at this point
Copy the full SHA 93ab8c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a63bf3b - Browse repository at this point
Copy the full SHA a63bf3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c1a73d2 - Browse repository at this point
Copy the full SHA c1a73d2View commit details
Commits on Mar 11, 2018
-
Configuration menu - View commit details
-
Copy full SHA for cb5ac97 - Browse repository at this point
Copy the full SHA cb5ac97View commit details -
in which some labels and notes are upgraded to structured suggestions
(Meanwhile, a couple of parse-fail tests are moved to UI tests so that the reader can see the new output, and an existing UI test is given a more evocative name.)
Configuration menu - View commit details
-
Copy full SHA for 9b59985 - Browse repository at this point
Copy the full SHA 9b59985View commit details -
Fix hygene issue when deriving Debug
The code for several of the core traits doesn't use hygenic macros. This isn't a problem, except for the Debug trait, which is the only one that uses a variable, named "builder". Variables can't share names with unit structs, so attempting to [derive(Debug)] on any type while a unit struct with the name "builder" was in scope would result in an error. This commit just changes the name of the variable to "__debug_trait_builder", because I couldn't figure out how to get a list of all unit structs in-scope from within the derive expansion function. If someone wants to have a unit struct with the exact name "__debug_trait_builder", they'll just have to do it without a [derive(Debug)].
Configuration menu - View commit details
-
Copy full SHA for c033c6e - Browse repository at this point
Copy the full SHA c033c6eView commit details -
Pulls in a redesigned `std::simd` module as well as a replacement for the `is_target_feature_detected!` macro
Configuration menu - View commit details
-
Copy full SHA for f2a8556 - Browse repository at this point
Copy the full SHA f2a8556View commit details -
test: Forcibly remove MAKEFLAGS in compiletest
When executing run-make tests we run a risk of leaking the `MAKEFLAGS` environment variable if `./x.py` itself was called from `make` (aka `make check -j3` as the OSX bots do). We may then leak accidentally fds into the child process and trick it into thinking it's got a jobserver! Hopefully addresses [this] spurious failure [this]: rust-lang#48295 (comment)
Configuration menu - View commit details
-
Copy full SHA for 9a3128e - Browse repository at this point
Copy the full SHA 9a3128eView commit details
Commits on Mar 12, 2018
-
Rollup merge of rust-lang#48810 - Phlosioneer:32463-impl-integer-for-…
…wrapping, r=dtolnay Implement Integer methods for Wrapping Wrapping<T> now implements: count_ones, count_zeros, leading_zeros, trailing_zeros, rotate_left, rotate_right, swap_bytes, from_be, from_le, to_be, to_le, and pow where T is: u8, u16, u32, u64, usize, i8, i16, i32, i64, or isize. Docs were written for all these methods, as well as examples. The examples mirror the ones on u8, u16, etc... for consistency. Closes rust-lang#32463
Configuration menu - View commit details
-
Copy full SHA for 4bd0ba4 - Browse repository at this point
Copy the full SHA 4bd0ba4View commit details -
Rollup merge of rust-lang#48877 - GuillaumeGomez:vec-missing-links, r…
…=QuietMisdreavus Add missing urls r? @QuietMisdreavus
Configuration menu - View commit details
-
Copy full SHA for 84514d2 - Browse repository at this point
Copy the full SHA 84514d2View commit details -
Rollup merge of rust-lang#48880 - petrochenkov:badstderr, r=kennytm
tidy: Add a check for stray `.stderr` and `.stdout` files in UI test directories
Configuration menu - View commit details
-
Copy full SHA for ffaaa4e - Browse repository at this point
Copy the full SHA ffaaa4eView commit details -
Rollup merge of rust-lang#48887 - alexcrichton:update-stdsimd, r=kennytm
Update stdsimd module Pulls in a redesigned `std::simd` module as well as a replacement for the `is_target_feature_detected!` macro
Configuration menu - View commit details
-
Copy full SHA for a06899c - Browse repository at this point
Copy the full SHA a06899cView commit details -
Rollup merge of rust-lang#48902 - csmoe:refactor_BorrowckErrors_fn_se…
…lf, r=petrochenkov refactor the `BorrowckErrors` trait to take `fn(self)` Fixes rust-lang#48783
Configuration menu - View commit details
-
Copy full SHA for 03a4f9d - Browse repository at this point
Copy the full SHA 03a4f9dView commit details -
Rollup merge of rust-lang#48928 - zackmdavis:span_suggestion_field_da…
…y, r=estebank in which some labels and notes are upgraded to structured suggestions (Meanwhile, a couple of parse-fail tests are moved to UI tests so that the reader can see the new output, and an existing UI test is given a more evocative name.) r? @estebank
Configuration menu - View commit details
-
Copy full SHA for d907bf7 - Browse repository at this point
Copy the full SHA d907bf7View commit details -
Rollup merge of rust-lang#48934 - Phlosioneer:42453-debug-hygene, r=p…
…etrochenkov Fix hygene issue when deriving Debug The code for several of the core traits doesn't use hygenic macros. This isn't a problem, except for the Debug trait, which is the only one that uses a variable, named "builder". Variables can't share names with unit structs, so attempting to [derive(Debug)] on any type while a unit struct with the name "builder" was in scope would result in an error. This commit just changes the name of the variable to "__debug_trait_builder", because I couldn't figure out how to get a list of all unit structs in-scope from within the derive expansion function. If someone wants to have a unit struct with the exact name "__debug_trait_builder", they'll just have to do it without a [derive(Debug)]. I also checked the implementations of the other built-in derives to ensure they didn't declare any variables.
Configuration menu - View commit details
-
Copy full SHA for 4d85efe - Browse repository at this point
Copy the full SHA 4d85efeView commit details -
Rollup merge of rust-lang#48938 - alexcrichton:no-leak-makeflags, r=k…
…ennytm test: Forcibly remove MAKEFLAGS in compiletest When executing run-make tests we run a risk of leaking the `MAKEFLAGS` environment variable if `./x.py` itself was called from `make` (aka `make check -j3` as the OSX bots do). We may then leak accidentally fds into the child process and trick it into thinking it's got a jobserver! Hopefully addresses [this] spurious failure [this]: rust-lang#48295 (comment)
Configuration menu - View commit details
-
Copy full SHA for 911f6f1 - Browse repository at this point
Copy the full SHA 911f6f1View commit details