Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
oli-obk opened this issue Jun 26, 2023 · 0 comments
Open

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

oli-obk opened this issue Jun 26, 2023 · 0 comments

Comments

@oli-obk
Copy link
Contributor

oli-obk commented Jun 26, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant