-
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 7 pull requests #65671
Rollup of 7 pull requests #65671
Commits on Oct 4, 2019
-
Configuration menu - View commit details
-
Copy full SHA for a12788a - Browse repository at this point
Copy the full SHA a12788aView commit details
Commits on Oct 11, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 0a08841 - Browse repository at this point
Copy the full SHA 0a08841View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84ca0a1 - Browse repository at this point
Copy the full SHA 84ca0a1View commit details -
Change untagged_unions to not allow union fields with drop
Union fields may now never have a type with attached destructor. This for example allows unions to use arbitrary field types only by wrapping them in ManuallyDrop. The stable rule remains, that union fields must be Copy. We use the new rule for the `untagged_union` feature. See RFC 2514. Note for ui tests: We can't test move out through Box's deref-move since we can't have a Box in a union anymore.
Configuration menu - View commit details
-
Copy full SHA for 2f0c821 - Browse repository at this point
Copy the full SHA 2f0c821View commit details -
Remove unions_with_drop_fields lint
Cases where it would trigger are now hard errors.
Configuration menu - View commit details
-
Copy full SHA for fe13bbd - Browse repository at this point
Copy the full SHA fe13bbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for e247a40 - Browse repository at this point
Copy the full SHA e247a40View commit details -
Update src/librustc_typeck/check/mod.rs
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 05a644e - Browse repository at this point
Copy the full SHA 05a644eView commit details -
Update src/librustc_typeck/check/mod.rs
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8c5ae86 - Browse repository at this point
Copy the full SHA 8c5ae86View commit details -
Update src/librustc_typeck/error_codes.rs
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0301eaf - Browse repository at this point
Copy the full SHA 0301eafView commit details -
Update src/test/run-pass/union/union-nodrop.rs
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for bf25a9c - Browse repository at this point
Copy the full SHA bf25a9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc512d2 - Browse repository at this point
Copy the full SHA fc512d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 616cf52 - Browse repository at this point
Copy the full SHA 616cf52View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50ec10e - Browse repository at this point
Copy the full SHA 50ec10eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c1ad0f - Browse repository at this point
Copy the full SHA 9c1ad0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fc257c - Browse repository at this point
Copy the full SHA 2fc257cView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb23a5c - Browse repository at this point
Copy the full SHA fb23a5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e1a65d - Browse repository at this point
Copy the full SHA 7e1a65dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f5669eb - Browse repository at this point
Copy the full SHA f5669ebView commit details
Commits on Oct 17, 2019
-
Configuration menu - View commit details
-
Copy full SHA for bb5a652 - Browse repository at this point
Copy the full SHA bb5a652View commit details
Commits on Oct 20, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 5719f57 - Browse repository at this point
Copy the full SHA 5719f57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50ddcbb - Browse repository at this point
Copy the full SHA 50ddcbbView commit details
Commits on Oct 21, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 77c50dc - Browse repository at this point
Copy the full SHA 77c50dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for c3b3a86 - Browse repository at this point
Copy the full SHA c3b3a86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0653694 - Browse repository at this point
Copy the full SHA 0653694View commit details -
Configuration menu - View commit details
-
Copy full SHA for 875bdd5 - Browse repository at this point
Copy the full SHA 875bdd5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55b787e - Browse repository at this point
Copy the full SHA 55b787eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d4b3654 - Browse repository at this point
Copy the full SHA d4b3654View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6d70b4 - Browse repository at this point
Copy the full SHA f6d70b4View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for ac6daed - Browse repository at this point
Copy the full SHA ac6daedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3de7698 - Browse repository at this point
Copy the full SHA 3de7698View commit details -
Configuration menu - View commit details
-
Copy full SHA for d689c70 - Browse repository at this point
Copy the full SHA d689c70View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebc9a1a - Browse repository at this point
Copy the full SHA ebc9a1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9c2685 - Browse repository at this point
Copy the full SHA e9c2685View commit details -
Rollup merge of rust-lang#62330 - SimonSapin:no-drop-in-union-fields,…
… r=RalfJung Change untagged_unions to not allow union fields with drop This is a rebase of rust-lang#56440, massaged to solve merge conflicts and make the test suite pass. Change untagged_unions to not allow union fields with drop Union fields may now never have a type with attached destructor. This for example allows unions to use arbitrary field types only by wrapping them in `ManuallyDrop` (or similar). The stable rule remains, that union fields must be `Copy`. We use the new rule for the `untagged_union` feature. Tracking issue: rust-lang#55149
Configuration menu - View commit details
-
Copy full SHA for aba8489 - Browse repository at this point
Copy the full SHA aba8489View commit details -
Rollup merge of rust-lang#65092 - tspiteri:const-is-pow2, r=oli-obk
make is_power_of_two a const function This makes `is_power_of_two` a const function by using `&` instead of short-circuiting `&&`; Rust supports bitwise `&` for `bool` and short-circuiting is not required in the existing expression. I don't think this needs a const-hack label as I don't find the changed code less readable, if anything I prefer that it is clearer that short circuiting is not used. @oli-obk
Configuration menu - View commit details
-
Copy full SHA for a160258 - Browse repository at this point
Copy the full SHA a160258View commit details -
Rollup merge of rust-lang#65621 - RalfJung:write_bytes, r=oli-obk
miri: add write_bytes method to Memory doing bounds-checks and supporting iterators This lets us avoid some direct `Allocation` accesses in Miri.
Configuration menu - View commit details
-
Copy full SHA for e825e21 - Browse repository at this point
Copy the full SHA e825e21View commit details -
Rollup merge of rust-lang#65647 - nnethercote:rm-unnecessary-traits, …
…r=Centril Remove unnecessary trait bounds and derivations This PR removes unnecessary trait bounds and derivations from many types. r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for 9072e10 - Browse repository at this point
Copy the full SHA 9072e10View commit details -
Rollup merge of rust-lang#65653 - RalfJung:gitignore, r=Mark-Simulacr…
…um,Centril keep the root dir clean from debugging We landed this before with rust-lang#63307 but recently in rust-lang#65630 the IMO bad ignore crept back in. If you regularly do graphviz-based debugging and you are fine leaving junk in the rustc root dir, please configure your local `.git/info/exclude`. But most people working on rustc don't work with graphciz all that often (I for once never did), and not everyone likes to have stray generated files in their source dirs. Also Cc rust-lang#63373 rust-lang#53768 @ecstatic-morse @Mark-Simulacrum
Configuration menu - View commit details
-
Copy full SHA for 760cd97 - Browse repository at this point
Copy the full SHA 760cd97View commit details -
Rollup merge of rust-lang#65660 - varkor:canonical-const-to-bound-con…
…st, r=eddyb Rename `ConstValue::Infer(InferConst::Canonical(..))` to `ConstValue::Bound(..)` It already has the right form, so this is just a renaming. Fixes rust-lang#65655. r? @eddyb
Configuration menu - View commit details
-
Copy full SHA for c461d02 - Browse repository at this point
Copy the full SHA c461d02View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56756c2 - Browse repository at this point
Copy the full SHA 56756c2View commit details