commit
1541fe80e1
@ -2,7 +2,7 @@
|
||||
|
||||
use std::cell::Cell;
|
||||
|
||||
// Check that even `&Cell` are dereferencable.
|
||||
// Check that even `&Cell` are dereferenceable.
|
||||
// Also see <https://github.com/rust-lang/rust/issues/55005>.
|
||||
fn inner(x: &Cell<i32>, f: fn(&Cell<i32>)) {
|
||||
// `f` may mutate, but it may not deallocate!
|
||||
|
Loading…
Reference in New Issue
Block a user