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

internal: don't shut up the compiler when it says the code's buggy #10080

Merged
merged 1 commit into from
Aug 30, 2021

Conversation

matklad
Copy link
Member

@matklad matklad commented Aug 30, 2021

bors r+
🤖

bors bot added a commit that referenced this pull request Aug 30, 2021
10080: internal: don't shut up the compiler when it says the code's buggy r=matklad a=matklad

bors r+
🤖

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Wrapping state-modifying functions into a `catch_unwind` is wrong -- to
do retry after failure, you need to have transactional semantics!
@bors
Copy link
Contributor

bors bot commented Aug 30, 2021

Canceled.

@matklad
Copy link
Member Author

matklad commented Aug 30, 2021

bors r+

/// (`on` method).
///
/// Some read-only requests are latency sensitive, and are immediately handled
/// on the main loop thread (`on_sync`). These are typically typing-related
Copy link
Member Author

Choose a reason for hiding this comment

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

@Veykril [`RequestDispatcher::on_sync`] doesn't work for me. Is it our bug, or is this just isn't supported by rustdoc?

Copy link
Member

Choose a reason for hiding this comment

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

Should work I think.

Copy link
Member

Choose a reason for hiding this comment

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

Ye I'm pretty sure that should work with rustdoc. Odd that we don't resolve this 🤔

Copy link
Member

Choose a reason for hiding this comment

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

Oh right this is #9694

@bors
Copy link
Contributor

bors bot commented Aug 30, 2021

@bors bors bot merged commit ceecf85 into rust-lang:master Aug 30, 2021
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.

3 participants