Changing E0623 error message - both anonymous lifetime regions#43541
Merged
bors merged 1 commit intorust-lang:masterfrom Jul 29, 2017
Merged
Changing E0623 error message - both anonymous lifetime regions#43541bors merged 1 commit intorust-lang:masterfrom
bors merged 1 commit intorust-lang:masterfrom
Conversation
This was referenced Jul 29, 2017
Contributor
|
@bors r+ Seems like an improvement. But then I proposed it. 👅 |
Collaborator
|
📌 Commit cb93cc6 has been approved by |
Collaborator
|
⌛ Testing commit cb93cc6 with merge 47b9723362247f8ccd5a448ee169ecdb12adc929... |
Collaborator
bors
added a commit
that referenced
this pull request
Jul 29, 2017
Changing E0623 error message - both anonymous lifetime regions
Changing the error message to
```
error[E0623]: lifetime mismatch
--> $DIR/ex3-both-anon-regions.rs:12:12
|
11 | fn foo(x: &mut Vec<&u8>, y: &u8) {
| --- --- these references are not declared with the same lifetime...
12 | x.push(y);
| ^ ...but data from `y` flows into `x` here
error: aborting due to previous error
```
cc @nikomatsakis @aturon @jonathandturner
r? @nikomatsakis
Collaborator
|
☀️ Test successful - status-appveyor, status-travis |
Member
|
@bors p=-2 (unblock bors) |
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.
Changing the error message to
cc @nikomatsakis @aturon @jonathandturner
r? @nikomatsakis