diff options
Diffstat (limited to 'library/core/tests/clone.rs')
-rw-r--r-- | library/core/tests/clone.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/tests/clone.rs b/library/core/tests/clone.rs index 33ca9f2c6a3..aafe5ced2e9 100644 --- a/library/core/tests/clone.rs +++ b/library/core/tests/clone.rs @@ -1,4 +1,5 @@ #[test] +#[cfg_attr(not(bootstrap), allow(suspicious_double_ref_op))] fn test_borrowed_clone() { let x = 5; let y: &i32 = &x; |