Skip to content

rustc doesn't output anything but exits with 101 and doesn't emit any files #52913

Closed
@LukasKalbertodt

Description

@LukasKalbertodt
trait Foo {
    type Out;
}

impl<T> Foo for Box<T> {
    type Out where T: Clone = T;
}

fn main() {}

Compiling this code results in no output by rustc. But rustc exits with 101 and does not produce any artifacts. (On Playground)

The error happens with:

  • rustc 1.27.1 (5f2b325f6 2018-07-07),
  • rustc 1.27.2 (58cc626de 2018-07-18), and
  • rustc 1.29.0-nightly (874dec25e 2018-07-21)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-GATsArea: Generic associated types (GATs)C-bugCategory: This is a bug.F-generic_associated_types`#![feature(generic_associated_types)]` a.k.a. GATsP-highHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions