Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (7 sloc) 192 Bytes
// build-pass (FIXME(62277): could be check-pass?)
struct WithDrop;
impl Drop for WithDrop {
fn drop(&mut self) {}
fn consume(x: (&mut (), WithDrop)) -> &mut () { x.0 }
fn main() {}
You can’t perform that action at this time.