about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-03-19 23:46:51 +0000
committerbors <bors@rust-lang.org>2024-03-19 23:46:51 +0000
commit89aba8d45d116844b7d606b844a9388a4e099081 (patch)
tree7e86076db2a675fc9e384310f52cb36cc8fb5e6a /compiler/rustc_errors/src
parent3f338b304e91e702e6b3708501c8bcefbf8b97fb (diff)
parent7c0b2dd3523e43edeb67c074e895fc20a5491375 (diff)
downloadrust-89aba8d45d116844b7d606b844a9388a4e099081.tar.gz
rust-89aba8d45d116844b7d606b844a9388a4e099081.zip
Auto merge of #12511 - humannum14916:assigning_clones_msrv, r=Alexendoo
`assigning_clones` should respect MSRV

Fixes: #12502

This PR fixes the `assigning_clones` lint suggesting to use `clone_from` or `clone_into` on incompatible MSRVs.

`assigning_clones` will suggest using either `clone_from` or `clone_into`, both of which were stabilized in 1.63. If the current MSRV is below 1.63, the lint should not trigger.

changelog: [`assigning_clones`]: don't lint when the MSRV is below 1.63.
Diffstat (limited to 'compiler/rustc_errors/src')
0 files changed, 0 insertions, 0 deletions