Skip to content

Never Type #367

Open
Open
@philberty

Description

@philberty

https://doc.rust-lang.org/reference/types/never.html

fn main() {
    let a = return;
    let b = a + 1;
    a = 123;
}

This has interesting implications for the type resolution and eager substitution of inference variables.

See #364 for more context.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions