Skip to content

Recursive trait definition crashes rustc #14754

@m10e

Description

@m10e

Recursive trait definition crashes rustc.

rust --version
rustc 0.11.0-pre-nightly (7580ef9 2014-06-08 00:46:57 -0700)
host: x86_64-apple-darwin

rustc main.rs
task 'rustc' has overflowed its stack
Illegal instruction: 4

// --- main.rs

trait A<B: A> {}
fn main() {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions