]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #89528 - FabianWolff:issue-89497, r=jackh726
authorManish Goregaokar <manishsmail@gmail.com>
Wed, 6 Oct 2021 19:33:21 +0000 (12:33 -0700)
committerGitHub <noreply@github.com>
Wed, 6 Oct 2021 19:33:21 +0000 (12:33 -0700)
commitf5bfa3450a4f115bcddb1296b2e3ec13dbaac945
treef6691a0540df1868b0cc3152e5b623bf09a1e2ef
parent7d6feb421ed159ee8f110741d4fb8a43b4ba7ff5
parent388bcc1cb086c567f17a4933bfb1d3f14eb19fb7
Rollup merge of #89528 - FabianWolff:issue-89497, r=jackh726

Fix suggestion to borrow when casting from pointer to reference

Fixes #89497.
compiler/rustc_typeck/src/check/cast.rs