Skip to content

ICE on extern "Rust" fn declaration #10763

Closed
@huonw

Description

@huonw
extern "Rust" fn foo() {}

fn main() {}
error: internal compiler error: unimplemented Foreign functions with Rust ABI
This message reflects a bug in the Rust compiler. 

(On first blush, I'd think that fn foo() and extern "Rust" fn foo() should be identical, but there might something I'm missing?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions