-
Notifications
You must be signed in to change notification settings - Fork 14k
Closed
Labels
A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
There are some run-pass tests that seemingly check whether a specific warning or error is emitted. As far as I can tell though, the compiletest tool just ignores the given directives in a run-pass test case, i.e. changing the given directives to something unexpected still lets the tests pass.
Some affected test cases (in no particular order):
attr-before-view-item.rsattr-before-view-item2.rsdeprecated-macro_escape-inner.rsdeprecated-macro_escape.rsderiving-meta-empty-trait-list.rsliveness-assign-imm-local-after-ret.rsunreachable-code-1.rsauxiliary/const_fn_lib.rsauxiliary/issue_3136_a.rsenum-size-variance.rsissue-25757.rspred-not-bool.rsissue-19100.rsissue-2611-3.rs
cc @rust-lang/compiler @rust-lang/tools
Metadata
Metadata
Assignees
Labels
A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.