Skip to content

Commit a90cb74

Browse files
authored
test directive can appear anywhere in the file
1 parent c834b7e commit a90cb74

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tests/directives.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
FIXME(jieyouxu) completely revise this chapter.
77
-->
88

9-
Directives are special comments that tell compiletest how to build and interpret a test. They must appear before the Rust source in the test. They may also appear in `rmake.rs` [run-make tests](compiletest.md#run-make-tests).
9+
Directives are special comments that tell compiletest how to build and interpret a test.
10+
They may also appear in `rmake.rs` [run-make tests](compiletest.md#run-make-tests).
1011

1112
They are normally put after the short comment that explains the point of this
1213
test. Compiletest test suites use `//@` to signal that a comment is a directive.

0 commit comments

Comments
 (0)