Skip to content

Commit 149d3ab

Browse files
steveklabnikManishearth
authored andcommitted
add mention of test attribute
Fixes rust-lang#16413
1 parent d0a3741 commit 149d3ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

reference.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1927,6 +1927,8 @@ type int8_t = i8;
19271927
- `start` - indicates that this function should be used as the entry point,
19281928
overriding the "start" language item. See the "start" [language
19291929
item](#language-items) for more details.
1930+
- `test` - indicates that this function is a test function, to only be compiled
1931+
in case of `--test`.
19301932

19311933
### Static-only attributes
19321934

0 commit comments

Comments
 (0)