Wrong error message for move_ref_pattern#69348
Merged
bors merged 1 commit intorust-lang:masterfrom Feb 22, 2020
Merged
Conversation
Contributor
|
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
Contributor
|
Thanks. You need to |
Contributor
|
Could you squash the commits into one? r=me rollup with that done. |
Bless tests
0005e17 to
38a22b8
Compare
Contributor
Author
|
@Centril Done |
Contributor
|
@bors r+ rollup |
Collaborator
|
📌 Commit 38a22b8 has been approved by |
bors
added a commit
that referenced
this pull request
Feb 22, 2020
Rollup of 7 pull requests Successful merges: - #68984 (Make `u8::is_ascii` a stable `const fn`) - #69339 (Add test for #69312) - #69346 (Clean up E0323, E0324, E0325 and E0326 explanations) - #69348 (Wrong error message for move_ref_pattern) - #69349 (MIR is not an experiment anymore) - #69354 (Test `Duration::new` panics on overflow) - #69370 (move const_eval.rs into the module folder) Failed merges: r? @ghost
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The current error message states that move occurs because of
Copy:"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