blob: 17a0da8c5f8e0022d9add7216dd64de0031f75ae [file] [log] [blame] [edit]
//@ check-pass
struct WithDrop;
impl Drop for WithDrop {
fn drop(&mut self) {}
}
fn consume(x: (&mut (), WithDrop)) -> &mut () { x.0 }
fn main() {}