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

known-bug directive syntax is not documented #2261

Open
lolbinarycat opened this issue Feb 24, 2025 · 2 comments · May be fixed by #2288
Open

known-bug directive syntax is not documented #2261

lolbinarycat opened this issue Feb 24, 2025 · 2 comments · May be fixed by #2288

Comments

@lolbinarycat
Copy link
Contributor

the known-bug directive requires an argument, which is a comma-separated list of issue IDs.

this is not clearly documented.

https://rustc-dev-guide.rust-lang.org/tests/ui.html#known-bugs

@lolbinarycat
Copy link
Contributor Author

also, shouldn't known-bug imply run-fail or invert the expected outcome? if not, that should probably be noted.

@tshepang
Copy link
Member

tshepang commented Mar 15, 2025

there is also check-fail and build-fail, so I don't think run-fail would be specailly applicable

also, I see a number of known-bug tests marked as check-pass, which is for cases where they are expected to fail when the bug gets fixed

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

Successfully merging a pull request may close this issue.

2 participants