Skip to content
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

Add 8 more error explanations. #25398

Merged
merged 4 commits into from May 14, 2015
Merged

Add 8 more error explanations. #25398

merged 4 commits into from May 14, 2015

Conversation

nham
Copy link
Contributor

@nham nham commented May 14, 2015

Adds explanations for E0053, E0066, E0069, E0251, E0252, E0255, E0256, E0368.

cc #24407

Nick Hamann added 2 commits May 13, 2015 19:55
This also updates the error messages for both. For E0066, it removes mention
of "managed heap", which was removed in 8a91d33. For E0069, I just tweaked
the wording to make it a bit more explicit.
@rust-highfive
Copy link
Collaborator

r? @huonw

(rust_highfive has picked a reviewer for you, use r? to override)

An example of this error:

```
use foo::FOO; // error, do `use foo::FOO as BAR` instead
Copy link
Member

Choose a reason for hiding this comment

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

Maybe this could be something like

use bar::foo;

fn foo() {}

mod bar {
     pub fn foo() {}
}

(I just find the upper-case FOO slightly strange.)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, that's a much better.

@huonw
Copy link
Member

huonw commented May 14, 2015

@bors r+ rollup

@bors
Copy link
Contributor

bors commented May 14, 2015

📌 Commit 7a5152e has been approved by huonw

@nham
Copy link
Contributor Author

nham commented May 14, 2015

@huonw I just added one more change (and squashed it into the previous commit). Do you need to approve again? (Sorry)

@huonw
Copy link
Member

huonw commented May 14, 2015

Yep, any changes means a reapproval is needed (don't apologise, having more improvements is better than having less improvements).

@bors r+ rollup

@bors
Copy link
Contributor

bors commented May 14, 2015

📌 Commit 588777f has been approved by huonw

Manishearth added a commit to Manishearth/rust that referenced this pull request May 14, 2015
Adds explanations for E0053, E0066, E0069, E0251, E0252, E0255, E0256, E0368.

cc rust-lang#24407
bors added a commit that referenced this pull request May 14, 2015
@bors bors merged commit 588777f into rust-lang:master May 14, 2015
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.

None yet

5 participants