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.
1 parent df602be commit 7a56de6Copy full SHA for 7a56de6
src/attributes/testing.md
@@ -42,6 +42,9 @@ Only the first instance of `test` on an function is honored. Subsequent `test` a
42
43
<!-- TODO: This is a minor lie. Currently rustc warns that duplicates are ignored, but it then generates multiple test entries with the same name. I would vote for rejecting this in the future. -->
44
45
+r[attributes.testing.test.stdlib]
46
+The `test` attribute is exported from the standard library prelude as [`std::prelude::v1::test`].
47
+
48
r[attributes.testing.test.enabled]
49
These functions are only compiled when in test mode.
50
0 commit comments