Skip to content

Commit aed9cc4

Browse files
committed
mention that know-bug test directive takes arguments
1 parent ab76257 commit aed9cc4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/tests/ui.md

+6
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,12 @@ reasons, including:
415415
can alert the developer so they know that the associated issue has been fixed
416416
and can possibly be closed.
417417

418+
This directive takes comma-separated issue numbers as arguments,
419+
each prefixed with a `#`.
420+
Examples are `//@ known-bug: #12345` and `//@ known-bug: #123, #456`.
421+
Arbitrary text before the `#` is also accepted,
422+
example being `rust-lang/rust#12345`.
423+
418424
Do not include [error annotations](#error-annotations) in a test with
419425
`known-bug`. The test should still include other normal directives and
420426
stdout/stderr files.

0 commit comments

Comments
 (0)