11error: non-canonical implementation of `clone` on a `Copy` type
2- --> tests/ui/non_canonical_clone_impl.rs:10 :29
2+ --> tests/ui/non_canonical_clone_impl.rs:11 :29
33 |
44LL | fn clone(&self) -> Self {
55 | _____________________________^
@@ -11,7 +11,7 @@ LL | | }
1111 = help: to override `-D warnings` add `#[allow(clippy::non_canonical_clone_impl)]`
1212
1313error: unnecessary implementation of `clone_from` on a `Copy` type
14- --> tests/ui/non_canonical_clone_impl.rs:14 :5
14+ --> tests/ui/non_canonical_clone_impl.rs:15 :5
1515 |
1616LL | / fn clone_from(&mut self, source: &Self) {
1717LL | | source.clone();
@@ -20,7 +20,7 @@ LL | | }
2020 | |_____^ help: remove it
2121
2222error: non-canonical implementation of `clone` on a `Copy` type
23- --> tests/ui/non_canonical_clone_impl.rs:81 :29
23+ --> tests/ui/non_canonical_clone_impl.rs:82 :29
2424 |
2525LL | fn clone(&self) -> Self {
2626 | _____________________________^
@@ -29,7 +29,7 @@ LL | | }
2929 | |_____^ help: change this to: `{ *self }`
3030
3131error: unnecessary implementation of `clone_from` on a `Copy` type
32- --> tests/ui/non_canonical_clone_impl.rs:85 :5
32+ --> tests/ui/non_canonical_clone_impl.rs:86 :5
3333 |
3434LL | / fn clone_from(&mut self, source: &Self) {
3535LL | | source.clone();
0 commit comments