blob: 850771cffd0cfb1f627e7924aa51b646f1000424 [file] [log] [blame]
// compile-pass
#![allow(dead_code)]
#![feature(nll)]
struct WithDrop;
impl Drop for WithDrop {
fn drop(&mut self) {}
}
fn consume(x: (&mut (), WithDrop)) -> &mut () { x.0 }
fn main() {}