Skip to content

Codegen does not generate calls to functions that return the never type #648

Closed

Description

@zhassan-aws

Example:

#![feature(never_type)]
pub fn foo() -> ! {
    panic!();
}

The associated function hook (output_of_instance_is_never) needs to be removed.

Metadata

Metadata

Assignees

Labels

[C] Bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions