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

Update error message for E0253 #35512 #35558

Merged
merged 2 commits into from
Aug 15, 2016
Merged

Update error message for E0253 #35512 #35558

merged 2 commits into from
Aug 15, 2016

Conversation

lukehinds
Copy link
Contributor

Fixes #35512. Part of #35233.

@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @nikomatsakis (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@lukehinds
Copy link
Contributor Author

Apologies about the commit message derp!

Regarding the CI failure, seems to be do with a docker run:

The command "docker run -v `pwd`:/build rust sh -c " ./configure --llvm-root=/usr/lib/llvm-3.7 && make tidy && make check-notidy -j4 "" exited with 2.

The unit tests all worked however:

test result: ok. 2478 passed; 0 failed; 3 ignored; 0 measured

use foo::MyTrait::do_something; //~ ERROR E0253
use foo::MyTrait::do_something;
//~^ ERROR E0253
//~|NOTE not directly importable
Copy link
Contributor

Choose a reason for hiding this comment

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

this should probably be `| NOTE cannot be imported directly", no?

Copy link
Contributor Author

@lukehinds lukehinds Aug 10, 2016

Choose a reason for hiding this comment

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

Updated it now, with a new commit, but in hindsight I wonder if I should have done a commit --amend?, and it might cause a merge conflict? (clicked on the pencil above, and did a browser edit)

(apologies, I have got so used to working via gerrit, and github stumps me).

c974749

changed error text
@nikomatsakis
Copy link
Contributor

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Aug 11, 2016

📌 Commit c974749 has been approved by nikomatsakis

sophiajt pushed a commit to sophiajt/rust that referenced this pull request Aug 13, 2016
eddyb added a commit to eddyb/rust that referenced this pull request Aug 14, 2016
eddyb added a commit to eddyb/rust that referenced this pull request Aug 14, 2016
bors added a commit that referenced this pull request Aug 14, 2016
@bors bors merged commit c974749 into rust-lang:master Aug 15, 2016
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.

4 participants