Closed
Description
For instance:
fn forget<T>(val: T) {
let x = Rc::new((val, RefCell::new(None)));
*x.1.borrow_mut() = x.clone();
}
This is problematic, and an indicator that something is amiss in our rules.
cc @aturon @nikomatsakis @bstrie from IRC
Metadata
Metadata
Assignees
Labels
No labels