]> git.lizzy.rs Git - rust.git/commit
Require destructors using `#[may_dangle]` to use `unsafe impl`.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Wed, 12 Oct 2016 12:23:38 +0000 (14:23 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Wed, 12 Oct 2016 16:23:20 +0000 (18:23 +0200)
commit9a649c328c50485de72f057a8003dcbbf3b4dc53
treee14c6c4463904a642686d42e1ba5891913af0aee
parent7d2d5bcbcf8342976609feeb46972d346b549cca
Require destructors using `#[may_dangle]` to use `unsafe impl`.
src/librustc/hir/mod.rs
src/librustc_typeck/coherence/unsafety.rs
src/librustc_typeck/diagnostics.rs
src/test/compile-fail/dropck-eyepatch-implies-unsafe-impl.rs [new file with mode: 0644]