]> git.lizzy.rs Git - rust.git/commit
Auto merge of #58673 - matthewjasper:typeck-ptr-coercions, r=pnkfelix
authorbors <bors@rust-lang.org>
Sun, 3 Mar 2019 16:46:12 +0000 (16:46 +0000)
committerbors <bors@rust-lang.org>
Sun, 3 Mar 2019 16:46:12 +0000 (16:46 +0000)
commit2cfd6444a7fb4bd6acef2b97ba53059adc0500a6
treed04772a8cd5ed241e7a8c13ddcaf7eaebaf0b0f3
parentc0086b9e8972fef9fd4af24bae20d45021ed06c6
parent19a54e80934c802109ae7175cc824c22c672caa6
Auto merge of #58673 - matthewjasper:typeck-ptr-coercions, r=pnkfelix

[NLL] Type check operations with pointer types

It seems these were forgotten about. Moving to `Rvalue::AddressOf` simplifies the coercions from references, but I want this to be fixed as soon as possible.

r? @pnkfelix
12 files changed:
src/librustc/ich/impls_mir.rs
src/librustc/mir/mod.rs
src/librustc/ty/context.rs
src/librustc_codegen_ssa/mir/rvalue.rs
src/librustc_mir/borrow_check/nll/type_check/mod.rs
src/librustc_mir/build/expr/as_place.rs
src/librustc_mir/build/expr/as_rvalue.rs
src/librustc_mir/build/expr/into.rs
src/librustc_mir/hair/cx/expr.rs
src/librustc_mir/hair/mod.rs
src/librustc_mir/transform/qualify_consts.rs
src/librustc_mir/transform/qualify_min_const_fn.rs