We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a56211a + 9ff4d34 commit cc357bdCopy full SHA for cc357bd
src/test/ui/inference/issue-28935.rs
@@ -0,0 +1,9 @@
1
+// check-pass
2
+
3
+use std::cell::RefCell;
4
5
+pub fn f(v: Vec<RefCell<u8>>) {
6
+ let _t = &mut *v[0].borrow_mut();
7
+}
8
9
+fn main() {}
0 commit comments