Skip to content

ICE: drop_ty_immediate: non-box ty #8051

Closed
@mstewartgallus

Description

@mstewartgallus

The following code (as of commit 0012b50) gives an internal compiler error drop_ty_immediate: non-box ty.

use std::rt::rtio::RtioTimer;
use std::rt::io::Timer;

fn main() {
    let maybe_timer = Timer::new();
    maybe_timer.expect("Expected a timer").sleep(1);
}

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