Skip to content

check-pretty fails with RUSTFLAGS="-Z time-passes" #14607

Closed

Description

@kmcallister
        task '[pretty] run-pass/variant-structs-trivial.rs' failed at 'explicit failure', /home/keegan/proj/rust/rust2/src/compiletest/runtest.rs:1305

---- [pretty] run-pass/vec-concat.rs stdout ----

        error: pretty-printing failed in round 1
        status: exit code: 101
        command: x86_64-unknown-linux-gnu/stage1/bin/rustc - --pretty normal --target=x86_64-unknown-linux-gnu -L x86_64-unknown-linux-gnu/test/run-pass/vec-concat.stage1-x86_64-unknown-linux-gnu.libaux -Z time-passes --cfg debug -O -L x86_64-unknown-linux-gnu/rt
        stdout:
        ------------------------------------------

        ------------------------------------------
        stderr:
        ------------------------------------------
        <anon>:1:1: 1:5 error: expected item but found `time`
        <anon>:1 time: 0.002 s  parsing
                 ^~~~

        ------------------------------------------

Activity

  1. steveklabnik commented on Sep 2, 2015

    @steveklabnik
    Contributor

    Traige: this still happens.

  2. Mark-Simulacrum commented on May 16, 2017

    @Mark-Simulacrum
    Member

    Today, I see that RUSTFLAGS="-Ztime-passes" ./x.py test -i --stage 1 src/test/pretty passed locally. So I suspect that this is fixed, therefore I'm closing.

  3. added a commit that references this issue on Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustc

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions