We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 613bdd4 commit b7860f0Copy full SHA for b7860f0
src/tools/compiletest/src/header.rs
@@ -882,14 +882,6 @@ fn iter_header(
882
}
883
let ln = ln.trim();
884
885
- // Assume that any directives will be found before the first module or function. This
886
- // doesn't seem to be an optimization with a warm page cache. Maybe with a cold one.
887
- // FIXME(jieyouxu): this will cause `//@` directives in the rest of the test file to
888
- // not be checked.
889
- if ln.starts_with("fn") || ln.starts_with("mod") {
890
- return;
891
- }
892
-
893
let Some(directive_line) = line_directive(line_number, comment, ln) else {
894
continue;
895
};
0 commit comments