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

Finalize the error type for try_reserve #61780

Merged
merged 3 commits into from
Aug 16, 2019

Commits on Aug 16, 2019

  1. Configuration menu
    Copy the full SHA
    36b18a1 View commit details
    Browse the repository at this point in the history
  2. Update hashbrown to 0.5.0

    SimonSapin committed Aug 16, 2019
    Configuration menu
    Copy the full SHA
    a92c29b View commit details
    Browse the repository at this point in the history
  3. Add the Layout of the failed allocation to TryReserveError::AllocError

    … and add a separately-unstable field to force non-exhaustive matching
    (`#[non_exhaustive]` is no implemented yet on enum variants)
    so that we have the option to later expose the allocator’s error value.
    
    CC rust-lang/wg-allocators#23
    SimonSapin committed Aug 16, 2019
    Configuration menu
    Copy the full SHA
    59a3409 View commit details
    Browse the repository at this point in the history