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

Expand error annotations section with examples #724

Merged
merged 2 commits into from May 28, 2020

Conversation

chrissimpkins
Copy link
Member

Adds new examples to demonstrate how to use the UI error annotations idioms for expected error message : error line definitions

2020-05-28_10-58-07

Also includes a comment about tidy lints of line length with these error annotations in UI tests which was a gotcha that I ran into this week.

Copy link
Member

@JohnTitor JohnTitor left a comment

Choose a reason for hiding this comment

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

Looks good, I'd love this change :) Left some nits.

src/tests/adding.md Outdated Show resolved Hide resolved
src/tests/adding.md Outdated Show resolved Hide resolved
src/tests/adding.md Outdated Show resolved Hide resolved
src/tests/adding.md Outdated Show resolved Hide resolved
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
@chrissimpkins
Copy link
Member Author

Thanks @JohnTitor! I really appreciate the review. I applied all of your suggestions.

@JohnTitor JohnTitor merged commit 6a54bc6 into rust-lang:master May 28, 2020
@chrissimpkins chrissimpkins deleted the ui-error-examples branch May 28, 2020 20:07
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

2 participants