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