Skip to content

test/run-pass/issue-2316.rs fails if ran without a full make first #2368

Closed
@marijnh

Description

@marijnh

The tests no longer depend on librustc. This one shouldn't either. It is easy to reproduce the situation that led to the bug in a module inside the test program, there's no need to reach into the internals of librustc (in fact, that's very fragile, and might even result in the test passing when the bug resurfaces, since the imports in rustc/middle/ty.rs can change at any time).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustcC-cleanupCategory: PRs that clean code up or issues documenting cleanup.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions