about summary refs log tree commit diff
path: root/src/libstd/panic.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-09-23 04:06:15 +0000
committerbors <bors@rust-lang.org>2018-09-23 04:06:15 +0000
commit7714c430ae1f771001fc0a1b083752485baba56e (patch)
treefe9d0752e00e3910994223686d8ce91408cf313d /src/libstd/panic.rs
parent576b640a02d7363746aacab9d2f1b91c6b685688 (diff)
parentc9cf4993307b9623580b1fe7f12aa87df1225fb8 (diff)
downloadrust-7714c430ae1f771001fc0a1b083752485baba56e.tar.gz
rust-7714c430ae1f771001fc0a1b083752485baba56e.zip
Auto merge of #54310 - pnkfelix:issue-52059-report-borrow-drop-conflict, r=nikomatsakis
Report when borrow could cause `&mut` aliasing during Drop

We were already issuing an error for the cases where this cropped up, so this is not fixing any soundness holes. The previous diagnostic just wasn't accurately describing the problem in the user's code.

Fix #52059
Diffstat (limited to 'src/libstd/panic.rs')
0 files changed, 0 insertions, 0 deletions