Skip to content

Nightly cargo is sometimes slow to start #57774

Closed
@moxian

Description

@moxian
fn foo<T>() 
where T:std::marker::Sized
{
    let buf = std::mem::size_of::<T>();
}

fails to compile on nightly (in playground), timing out : https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=ddbfcdb9f8be5d6984f1886cc201489e

Compiles fine on stable and nightly

Metadata

Metadata

Assignees

Labels

I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions