We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 070a751 commit 0f4abbfCopy full SHA for 0f4abbf
tests/ui/await_holding_refcell_ref.rs
@@ -61,11 +61,11 @@ fn block_bad(x: &RefCell<u32>) -> impl std::future::Future<Output = u32> + '_ {
61
}
62
63
fn main() {
64
- let m = RefCell::new(100);
65
- good(&m);
66
- bad(&m);
67
- bad_mut(&m);
68
- also_bad(&m);
69
- not_good(&m);
70
- block_bad(&m);
+ let rc = RefCell::new(100);
+ good(&rc);
+ bad(&rc);
+ bad_mut(&rc);
+ also_bad(&rc);
+ not_good(&rc);
+ block_bad(&rc);
71
0 commit comments