Skip to content

fix #24968: more friend error message for Self in fn args - #25485

Merged
bors merged 5 commits into
rust-lang:masterfrom
XuefengWu:24968_err_msg_parse_self_type_2
May 16, 2015
Merged

fix #24968: more friend error message for Self in fn args#25485
bors merged 5 commits into
rust-lang:masterfrom
XuefengWu:24968_err_msg_parse_self_type_2

Conversation

@XuefengWu

Copy link
Copy Markdown
Contributor

fix #24968
report more friendly error message for Self when fn args
copy from #25096
r? @nrc @arielb1

@rust-highfive

Copy link
Copy Markdown
Contributor

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @nrc (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. 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 CONTRIBUTING.md for more information.

@nrc

nrc commented May 16, 2015

Copy link
Copy Markdown
Member

@bors r+ 574a8cd

@nrc

nrc commented May 16, 2015

Copy link
Copy Markdown
Member

Thanks for making the changes!

@bors

bors commented May 16, 2015

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 574a8cd with merge 49601db...

@bors

bors commented May 16, 2015

Copy link
Copy Markdown
Collaborator

💔 Test failed - auto-mac-64-opt

@XuefengWu

Copy link
Copy Markdown
Contributor Author

@nrc fix a related test.

@alexcrichton

Copy link
Copy Markdown
Member

@bors: r=nrc 7fe60c1

@bors

bors commented May 16, 2015

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 7fe60c1 with merge 0d707d1...

bors added a commit that referenced this pull request May 16, 2015
fix #24968
report more friendly error message for Self when fn args
copy from #25096
r? @nrc  @arielb1
@bors

bors commented May 16, 2015

Copy link
Copy Markdown
Collaborator

@bors
bors merged commit 7fe60c1 into rust-lang:master May 16, 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.

Wrong error message when using Self in some places

5 participants