Skip to content

Document the SessionDiagnostic derive macro.#961

Merged
mark-i-m merged 3 commits into
rust-lang:masterfrom
jumbatm:SessionDiagnostic
Dec 3, 2020
Merged

Document the SessionDiagnostic derive macro.#961
mark-i-m merged 3 commits into
rust-lang:masterfrom
jumbatm:SessionDiagnostic

Conversation

@jumbatm

@jumbatm jumbatm commented Nov 15, 2020

Copy link
Copy Markdown
Contributor

Documents the #[derive(SessionDiagnostic) macro implemented in rust-lang/rust#75138.

cc @oli-obk

@oli-obk oli-obk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is awesome! Thanks for writing it up. I think with this we can now start creating E-easy issues for various sites in the compiler where we could move to SessionDiagnostic

Comment thread src/diagnostics.md Outdated

@LeSeulArtichaut LeSeulArtichaut left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Some lines are too long and exceed the 100 characters limit required to pass CI. I'd suggest to use [][]-style links instead of the inline []()-style links.

@LeSeulArtichaut

Copy link
Copy Markdown
Contributor

Also this design looks fantastic! It's awesome that someone finally implemented it ❤️

@LeSeulArtichaut LeSeulArtichaut added the S-waiting-on-author Status: this PR is waiting for additional action by the OP label Nov 15, 2020

@camelid camelid left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This feature looks pretty cool!

Comment thread src/diagnostics/sessiondiagnostic.md Outdated
Comment thread src/diagnostics/sessiondiagnostic.md Outdated
Comment thread src/diagnostics/sessiondiagnostic.md Outdated
@jumbatm

jumbatm commented Nov 16, 2020

Copy link
Copy Markdown
Contributor Author

Thanks for the suggestions, all :)

@rustbot modify labels: waiting-on-review

@rustbot rustbot added the S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content label Nov 16, 2020

@mark-i-m mark-i-m left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

@mark-i-m mark-i-m merged commit 459e414 into rust-lang:master Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: this PR is waiting for additional action by the OP S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants