bors
bf2e63104d
Auto merge of #8807 - Jarcho:cmp_owned, r=giraffate
...
Fix `cmp_owned` on copy types
fixes #8803
fixes #7365
changelog: Don't lint `cmp_owned` on `From::from` for copy types
2022-05-18 00:19:36 +00:00
nsunderland1
fe84ff3360
New lint: [derive_partial_eq_without_eq
]
2022-05-09 22:13:39 -07:00
Jason Newcomb
993b4016db
Don't lint cmp_owned
when From::from
results in a copy type.
2022-05-09 12:29:31 -04:00
Andrea Nall
3d3cfd3754
added new lint implicit_clone
2021-02-26 19:13:47 -06:00
Philipp Hansch
9a0b598b73
Split up cmp_owned tests, add run-rustfix
...
Some of the cmp_owned tests emitted non-machine-applicable suggestions,
so I moved them to `tests/ui/cmp_owned/without_suggestion.rs` and added
`// run-rustfix` to the other half.
cc #3630
2019-08-24 10:38:45 +02:00