Skip to content

Panic for assert_inhabited has no effect because of Nevers hook #751

Closed

Description

@adpaco

Related to #648.

Instead of executing the code for assert_inhabited, the Nevers hook is being applied. This causes the test introduced in #742 to fail with an unexpected property. The Nevers hook has to be removed at some point, this issue is for keeping track of that and going back to ensure the test is working as expected.

Activity

  1. self-assigned this
    on Jan 13, 2022
  2. added
    [C] Bug
    on Mar 16, 2022
  3. zhassan-aws commented on Mar 18, 2022

    @zhassan-aws
    Contributor

    Blocked by #648

  4. celinval commented on Apr 18, 2022

    @celinval
    Contributor

    This error out now with:

    Check 2: std::mem::MaybeUninit::<T>::assume_init.assertion.1
             - Status: FAILURE
             - Description: "attempted to instantiate uninhabited type `!`"
             - Location: TOOLCHAIN/library/core/src/mem/maybe_uninit.rs:633:13 in function std::mem::MaybeUninit::<T>::assume_init
    
    
  5. self-assigned this
    on Apr 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

[C] Bug[F] Crash

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions