Skip to content

clippy::main_recursion tests seem to be testing nothing anymore #11034

@oli-obk

Description

@oli-obk

I don't think this has worked at all, the other test in the same file doesn't have a .stderr file either. I'm guessing compiletest-rs didn't care that there was an extraneous file lying around if the test passes without output?

Originally posted by @oli-obk in #10426 (comment)

The relevant tests are https://github.com/rust-lang/rust-clippy/blob/master/tests/ui/crate_level_checks/no_std_main_recursion.rs and https://github.com/rust-lang/rust-clippy/blob/master/tests/ui/crate_level_checks/entrypoint_recursion.rs

Metadata

Metadata

Assignees

No one assigned

    Labels

    L-testsLint: Lints test codegood first issueThese issues are a good way to get started with Clippy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions