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.
2 parents f61db84 + 8f03924 commit c18ac5cCopy full SHA for c18ac5c
core/tests/clone.rs
@@ -1,4 +1,5 @@
1
#[test]
2
+#[cfg_attr(not(bootstrap), allow(suspicious_double_ref_op))]
3
fn test_borrowed_clone() {
4
let x = 5;
5
let y: &i32 = &x;
0 commit comments