Skip to content

Commit eb02e6b

Browse files
authored
Merge pull request #2314 from rust-lang/tshepang-patch-3
test directive can appear anywhere in the file
2 parents c834b7e + a90cb74 commit eb02e6b

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)