Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (18 sloc) 379 Bytes
// build-pass (FIXME(62277): could be check-pass?)
struct AtomicRefMut<'a> {
value: &'a mut i32,
borrow: AtomicBorrowRefMut,
}
struct AtomicBorrowRefMut {
}
impl Drop for AtomicBorrowRefMut {
fn drop(&mut self) {
}
}
fn map(orig: AtomicRefMut) -> AtomicRefMut {
AtomicRefMut {
value: orig.value,
borrow: orig.borrow,
}
}
fn main() {}
You can’t perform that action at this time.