We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 234bc7b + 655367d commit b4b44bbCopy full SHA for b4b44bb
src/fuzzing.md
@@ -73,7 +73,7 @@ To build a corpus, you may want to use:
73
74
- The rustc/rust-analyzer/clippy test suites (or even source code) --- though avoid
75
tests that are already known to cause failures, which often begin with comments
76
- like `// failure-status: 101` or `// known-bug: #NNN`.
+ like `//@ failure-status: 101` or `//@ known-bug: #NNN`.
77
- The already-fixed ICEs in the archived [Glacier][glacier] repository --- though
78
avoid the unfixed ones in `ices/`!
79
src/rustdoc-internals.md
@@ -281,10 +281,10 @@ using `XPath` notation to get a precise look at the output. The full
281
description of all the commands available to `rustdoc` tests (e.g. [`@has`] and
282
[`@matches`]) is in [`htmldocck.py`].
283
284
-To use multiple crates in a `rustdoc` test, add `// aux-build:filename.rs`
+To use multiple crates in a `rustdoc` test, add `//@ aux-build:filename.rs`
285
to the top of the test file. `filename.rs` should be placed in an `auxiliary`
286
directory relative to the test file with the comment. If you need to build
287
-docs for the auxiliary file, use `// build-aux-docs`.
+docs for the auxiliary file, use `//@ build-aux-docs`.
288
289
In addition, there are separate tests for the search index and `rustdoc`'s
290
ability to query it. The files in `tests/rustdoc-js` each contain a
src/tests/compiletest.md
@@ -619,7 +619,7 @@ file). The `-L` flag is used to find the extern crates.
619
`aux-crate` is very similar to `aux-build`. However, it uses the `--extern` flag
620
to link to the extern crate to make the crate be available as an extern prelude.
621
That allows you to specify the additional syntax of the `--extern` flag, such as
622
-renaming a dependency. For example, `// aux-crate:foo=bar.rs` will compile
+renaming a dependency. For example, `//@ aux-crate:foo=bar.rs` will compile
623
`auxiliary/bar.rs` and make it available under then name `foo` within the test.
624
This is similar to how Cargo does dependency renaming.
625
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments