Skip to content

Add E0128, E0130, E0134, E0135 and E0159 error explanation #26742

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 8, 2015

Conversation

GuillaumeGomez
Copy link
Member

Part of #24407.
r? @Manishearth

@GuillaumeGomez GuillaumeGomez changed the title Add E0128 error explanation Add E0128 and E0130 error explanation Jul 2, 2015
// identifiers
```

Please verify you used the good type or change the type parameter identifier.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Please verify that a name clash hasn't been accidentally introduced, and rename the type parameter if so"

@GuillaumeGomez GuillaumeGomez changed the title Add E0128 and E0130 error explanation Add E0128, E0130 and E0135 error explanation Jul 3, 2015
@GuillaumeGomez GuillaumeGomez changed the title Add E0128, E0130 and E0135 error explanation Add E0128, E0130, E0135 and E0159 error explanation Jul 3, 2015
@GuillaumeGomez GuillaumeGomez changed the title Add E0128, E0130, E0135 and E0159 error explanation Add E0128, E0130, E0134, E0135 and E0159 error explanation Jul 3, 2015
// allowed
```

I you want to modify an str, please use the String type. Example:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/I/If/

@@ -411,6 +411,42 @@ fn main() {
See also https://doc.rust-lang.org/book/unsafe.html
"##,

E0134: r##"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aren't these error-codes borrowck's business?

@bors
Copy link
Collaborator

bors commented Jul 4, 2015

☔ The latest upstream changes (presumably #26770) made this pull request unmergeable. Please resolve the merge conflicts.

@GuillaumeGomez
Copy link
Member Author

r? @arielb1

}
```

Please also verify that a name clash hasn't been accidentally introduced, and
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: name-clashes can't be introduced by reordering. Maybe "that this wasn't because of a name-clash".

@arielb1
Copy link
Contributor

arielb1 commented Jul 4, 2015

@bors r+ rollup 58593c8

@bors
Copy link
Collaborator

bors commented Jul 4, 2015

📌 Commit 58593c8 has been approved by arielb1

@bluss
Copy link
Member

bluss commented Jul 7, 2015

@bors: r-

@bluss
Copy link
Member

bluss commented Jul 7, 2015

@bors: r=arielb1 rollup

@bors
Copy link
Collaborator

bors commented Jul 7, 2015

📌 Commit 5460650 has been approved by arielb1

steveklabnik added a commit to steveklabnik/rust that referenced this pull request Jul 7, 2015
bors added a commit that referenced this pull request Jul 7, 2015
@bors bors merged commit 5460650 into rust-lang:master Jul 8, 2015
@GuillaumeGomez GuillaumeGomez deleted the patch-2 branch July 8, 2015 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants