-
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 6 pull requests #72010
Rollup of 6 pull requests #72010
Commits on May 7, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3f661da - Browse repository at this point
Copy the full SHA 3f661daView commit details -
Configuration menu - View commit details
-
Copy full SHA for e356d5c - Browse repository at this point
Copy the full SHA e356d5cView commit details -
Remove old
util/liveness.rs
moduleThe liveness dataflow analysis now lives in `librustc_mir/dataflow/impls/liveness.rs`. The borrow-checker has an abstraction around of "defs" and "uses" that I've made module private. I would have moved it to `util/def_use.rs`, but there's a slightly different abstraction used for copy propagation with that name.
Configuration menu - View commit details
-
Copy full SHA for 34508d8 - Browse repository at this point
Copy the full SHA 34508d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 046848e - Browse repository at this point
Copy the full SHA 046848eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd291b8 - Browse repository at this point
Copy the full SHA cd291b8View commit details
Commits on May 8, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4c032d4 - Browse repository at this point
Copy the full SHA 4c032d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13c9312 - Browse repository at this point
Copy the full SHA 13c9312View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fd70e4 - Browse repository at this point
Copy the full SHA 4fd70e4View commit details -
Rollup merge of rust-lang#71989 - ecstatic-morse:const-context-enum, …
…r=oli-obk Use a single enum for the kind of a const context This adds a `ConstContext` enum to the `rustc_hir` crate and method that can be called via `tcx.hir()` to get the `ConstContext` for a given body owner. This arose from discussion in rust-lang#71824. r? @oli-obk
Configuration menu - View commit details
-
Copy full SHA for 1e6c199 - Browse repository at this point
Copy the full SHA 1e6c199View commit details -
Rollup merge of rust-lang#71993 - ecstatic-morse:cleanup-old-liveness…
…, r=jonas-schievink Remove old `util/liveness.rs` module The liveness dataflow analysis now lives in the `dataflow` module, so this one is no longer necessary. I've copied the relevant bits of the module docs for `util::liveness` to `MaybeLiveLocals`. The example in the docs is now a `mir-dataflow` test: https://github.com/rust-lang/rust/blob/a08c47310c7d49cbdc5d7afb38408ba519967ecd/src/test/ui/mir-dataflow/liveness-ptr.rs#L6-L26 The borrow-checker used the same notion of "defs" and "uses", so I've moved it into a submodule. I would have moved it to `util/def_use.rs`, since it seems generally useful, but there's already a slightly [different version](https://github.com/rust-lang/rust/blob/master/src/librustc_mir/util/def_use.rs) of the same abstraction needed for copy propagation.
Configuration menu - View commit details
-
Copy full SHA for 681d747 - Browse repository at this point
Copy the full SHA 681d747View commit details -
Rollup merge of rust-lang#71999 - crlf0710:mailmap, r=Dylan-DPC
Add myself to mailmap.
Configuration menu - View commit details
-
Copy full SHA for 8f247c1 - Browse repository at this point
Copy the full SHA 8f247c1View commit details -
Rollup merge of rust-lang#72001 - mibac138:cfg-version, r=petrochenkov
Adjust cfg(version) to lang team decision See rust-lang#64796 (comment) for details r? @petrochenkov who reviewed the original PR (rust-lang#71314)
Configuration menu - View commit details
-
Copy full SHA for 5cef212 - Browse repository at this point
Copy the full SHA 5cef212View commit details -
Rollup merge of rust-lang#72007 - petrochenkov:passcheck3, r=RalfJung
Fix some tests failing in `--pass check` mode r? @RalfJung
Configuration menu - View commit details
-
Copy full SHA for c4c6340 - Browse repository at this point
Copy the full SHA c4c6340View commit details -
Rollup merge of rust-lang#72008 - lcnr:patch-3, r=varkor
Add const-generics test Taken from rust-lang#71973 as this apparently already compiles. r? @varkor
Configuration menu - View commit details
-
Copy full SHA for 6789540 - Browse repository at this point
Copy the full SHA 6789540View commit details