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

async/await: improve not-send errors, part 2 #65345

Merged

Commits on Dec 8, 2019

  1. async/await: more improvements to non-send errors

    Signed-off-by: David Wood <david@davidtw.co>
    davidtwco committed Dec 8, 2019
    Configuration menu
    Copy the full SHA
    438455d View commit details
    Browse the repository at this point in the history
  2. async/await: correct diag note for async move

    This commit corrects the diagnostic note for `async move {}` so that
    `await` is mentioned, rather than `yield`.
    
    Signed-off-by: David Wood <david@davidtw.co>
    davidtwco committed Dec 8, 2019
    Configuration menu
    Copy the full SHA
    f0b5114 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2019

  1. erase regions instead of using builtin_deref

    The reason we were invoking `builtin_deref` was to enable comparisons
    when the type was `&T`. For the reasons outlined in the comment, those
    comparisons failed because the regions disagreed.
    Nicholas Matsakis committed Dec 11, 2019
    Configuration menu
    Copy the full SHA
    5cd9f22 View commit details
    Browse the repository at this point in the history