-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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 #70024
Rollup of 8 pull requests #70024
Commits on Mar 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 2a29726 - Browse repository at this point
Copy the full SHA 2a29726View commit details
Commits on Mar 4, 2020
-
Add unborrow to reset RefCell borrow state
This method is complementary for the feature refcell_leak added in an earlier PR. It allows reverting the effects of leaking a borrow guard by statically proving that such a guard could not longer exist. This was not added to the existing `get_mut` out of concern of impacting the complexity of the otherwise pure pointer cast and because the name `get_mut` poorly communicates the intent of resetting remaining borrows.
Configuration menu - View commit details
-
Copy full SHA for 51b9396 - Browse repository at this point
Copy the full SHA 51b9396View commit details
Commits on Mar 11, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 18feaa3 - Browse repository at this point
Copy the full SHA 18feaa3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 533784d - Browse repository at this point
Copy the full SHA 533784dView commit details
Commits on Mar 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for e809e02 - Browse repository at this point
Copy the full SHA e809e02View commit details
Commits on Mar 13, 2020
-
rustc_metadata: Remove
rmeta::MacroDef
Use `ast::MacroDef` instead. Also remove `Session::imported_macro_spans`, external macros have spans now.
Configuration menu - View commit details
-
Copy full SHA for 01a0c6d - Browse repository at this point
Copy the full SHA 01a0c6dView commit details
Commits on Mar 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for d7e6649 - Browse repository at this point
Copy the full SHA d7e6649View commit details
Commits on Mar 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 2093d83 - Browse repository at this point
Copy the full SHA 2093d83View commit details -
Fix "since" field for
Once::is_complete
's#[stable]
attributeIt was accidentally merged with the wrong version.
Configuration menu - View commit details
-
Copy full SHA for 401a3f3 - Browse repository at this point
Copy the full SHA 401a3f3View commit details -
resolve: Prevent fresh bindings from shadowing ambiguity items
Correctly treat const generic parameters in fresh binding disambiguation
Configuration menu - View commit details
-
Copy full SHA for 78f01ec - Browse repository at this point
Copy the full SHA 78f01ecView commit details -
Rollup merge of rust-lang#69528 - HeroicKatora:finalize-ref-cell, r=d…
…tolnay Add undo_leak to reset RefCell borrow state This method is complementary for the feature cell_leak added in an earlier PR. It allows *safely* reverting the effects of leaking a borrow guard by statically proving that such a guard could not longer exist. This was not added to the existing `get_mut` out of concern of impacting the complexity of the otherwise pure pointer cast and because the name `get_mut` poorly communicates the intent of resetting remaining borrows. This is a follow-up to rust-lang#68712 and uses the same tracking issue, rust-lang#69099, as these methods deal with the same mechanism and the idea came up [in a review comment](rust-lang#68712 (comment)). @dtolnay who reviewed the prior PR. cc @RalfJung
Configuration menu - View commit details
-
Copy full SHA for 83aad6b - Browse repository at this point
Copy the full SHA 83aad6bView commit details -
Rollup merge of rust-lang#69589 - petrochenkov:maccall, r=Centril
ast: `Mac`/`Macro` -> `MacCall` It's now obvious that these refer to macro calls rather than to macro definitions. It's also a single name instead of two different names in different places. `rustc_expand` usually calls macro calls in a wide sense (including attributes and derives) "macro invocations", but structures and variants renamed in this PR are only relevant to fn-like macros, so it's simpler and clearer to just call them calls. cc rust-lang#63586 (comment) r? @eddyb
Configuration menu - View commit details
-
Copy full SHA for d1e943f - Browse repository at this point
Copy the full SHA d1e943fView commit details -
Rollup merge of rust-lang#69661 - lopopolo:string-from-mut-str, r=sfa…
…ckler Implement From<&mut str> for String I ran into this missing impl when trying to do `String::from` on the result returned from this API in the `uuid` crate: https://docs.rs/uuid/0.8.1/uuid/adapter/struct.Hyphenated.html#method.encode_lower I wasn't sure what to put in the stability annotation. I'd appreciate some help with that :)
Configuration menu - View commit details
-
Copy full SHA for cc16232 - Browse repository at this point
Copy the full SHA cc16232View commit details -
Rollup merge of rust-lang#69988 - petrochenkov:nomacrodef, r=Centril
rustc_metadata: Remove `rmeta::MacroDef` And other related cleanups. Follow-up to rust-lang#66364. r? @Centril
Configuration menu - View commit details
-
Copy full SHA for 8bca839 - Browse repository at this point
Copy the full SHA 8bca839View commit details -
Rollup merge of rust-lang#70006 - petrochenkov:fresh, r=Centril
resolve: Fix two issues in fresh binding disambiguation Prevent fresh bindings from shadowing ambiguity items. Fixes rust-lang#46079 Correctly treat const generic parameters in fresh binding disambiguation. Fixes rust-lang#68853
Configuration menu - View commit details
-
Copy full SHA for d986a70 - Browse repository at this point
Copy the full SHA d986a70View commit details -
Rollup merge of rust-lang#70011 - petrochenkov:asyncice, r=Centril
def_collector: Fully visit async functions We forgot to visit attributes previously, it caused ICEs. Special treatment of async functions is also moved from `visit_item` to `visit_fn` to reuse more of the default visitor. Fixes rust-lang#67778.
Configuration menu - View commit details
-
Copy full SHA for d74c5cd - Browse repository at this point
Copy the full SHA d74c5cdView commit details -
Rollup merge of rust-lang#70013 - ecstatic-morse:check-consts-feature…
…-gate, r=oli-obk Return feature gate as a `Symbol` A minor refactoring that will be needed for rust-lang#68940. That PR is blocked on me changing the error comments in a whole lot of UI tests. r? @oli-obk
Configuration menu - View commit details
-
Copy full SHA for b46ef3d - Browse repository at this point
Copy the full SHA b46ef3dView commit details -
Rollup merge of rust-lang#70018 - LukasKalbertodt:fix-once-is-complet…
…e-since, r=Centril Fix "since" field for `Once::is_complete`'s `#[stable]` attribute It was accidentally merged with the wrong version in rust-lang#68945. Thanks @jplatte for noticing. This also needs to be beta backported.
Configuration menu - View commit details
-
Copy full SHA for bde77af - Browse repository at this point
Copy the full SHA bde77afView commit details