]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Rollup merge of #69348 - LeSeulArtichaut:patch-1, r=Centril
authorDylan DPC <dylan.dpc@gmail.com>
Sat, 22 Feb 2020 13:13:04 +0000 (18:43 +0530)
committerGitHub <noreply@github.com>
Sat, 22 Feb 2020 13:13:04 +0000 (18:43 +0530)
commit8ab4060057a7c70376dedf075fcb98a07868fc03
treed06241f78682d1396c6752296e4c58b7cc6a6355
parent1cb9fb5e166bc02cf57fcb7228bc87c34cf04562
parent38a22b8130f6466352bca53d5020c44cd648326a
Rollup merge of #69348 - LeSeulArtichaut:patch-1, r=Centril

Wrong error message for move_ref_pattern

The current error message states that move occurs *because of `Copy`*:
```Rust
"move occurs because `{}` has type `{}` which does implement the `Copy` trait."
```
I found this randomly when surfing through the sources. This means, I don't have any context and might be completely wrong.

r? @Centril