Skip to content

Inlining map functions causes an ICE #1941

@pcwalton

Description

@pcwalton

I added #[inline] to all the functions in map.rs and got the following error when compiling stage1/librustc:

../src/rustc/rustc.rc:1:0: 1:0 error: internal compiler error unbound function item in trans_item

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea: Code generationI-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions