Skip to content

Commit c18ac5c

Browse files
authored
Rollup merge of #110955 - fee1-dead-contrib:sus-operation, r=compiler-errors
uplift `clippy::clone_double_ref` as `suspicious_double_ref_op` Split from #109842. r? ``@compiler-errors``
2 parents f61db84 + 8f03924 commit c18ac5c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/tests/clone.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#[test]
2+
#[cfg_attr(not(bootstrap), allow(suspicious_double_ref_op))]
23
fn test_borrowed_clone() {
34
let x = 5;
45
let y: &i32 = &x;

0 commit comments

Comments
 (0)