Skip to content

edition suggestion UI tests fail when CARGO is set #118058

Closed
@Noratrieb

Description

@Noratrieb

⚠️ for understanding this issue, you can ignore my messages here. they may be seen as funny though ⚠️

failures:
    [ui] tests/ui/async-await/suggest-switching-edition-on-await.rs
    [ui] tests/ui/editions/async-block-2015.rs
(this is the wrong way around, i had it blessed already)
error: /home/nils/projects/rust/tests/ui/async-await/suggest-switching-edition-on-await.rs:9: unexpected help message: '9:7: 9:12: set `edition = "2021"` in `Cargo.toml`'

error: /home/nils/projects/rust/tests/ui/async-await/suggest-switching-edition-on-await.rs:22: unexpected help message: '22:7: 22:12: set `edition = "2021"` in `Cargo.toml`'

error: /home/nils/projects/rust/tests/ui/async-await/suggest-switching-edition-on-await.rs:32: unexpected help message: '32:7: 32:12: set `edition = "2021"` in `Cargo.toml`'

error: /home/nils/projects/rust/tests/ui/async-await/suggest-switching-edition-on-await.rs:41: unexpected help message: '41:7: 41:12: set `edition = "2021"` in `Cargo.toml`'

error: /home/nils/projects/rust/tests/ui/async-await/suggest-switching-edition-on-await.rs:9: expected help message not found: pass `--edition 2021` to `rustc`

error: /home/nils/projects/rust/tests/ui/async-await/suggest-switching-edition-on-await.rs:22: expected help message not found: pass `--edition 2021` to `rustc`

error: /home/nils/projects/rust/tests/ui/async-await/suggest-switching-edition-on-await.rs:32: expected help message not found: pass `--edition 2021` to `rustc`

error: /home/nils/projects/rust/tests/ui/async-await/suggest-switching-edition-on-await.rs:41: expected help message not found: pass `--edition 2021` to `rustc`

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-contributor-roadblockArea: Makes things more difficult for new or seasoned contributors to RustC-bugCategory: This is a bug.T-compilerRelevant to the compiler 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