Skip to content

Commit 8f96590

Browse files
committed
auto merge of #17873 : steveklabnik/rust/gh16413, r=alexcrichton
A fix for the issues mentioned in #16413
2 parents d569dfe + 557014c commit 8f96590

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/doc/reference.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1897,7 +1897,7 @@ type int8_t = i8;
18971897
18981898
### Crate-only attributes
18991899

1900-
- `crate_id` - specify the this crate's crate ID.
1900+
- `crate_name` - specify the this crate's crate name.
19011901
- `crate_type` - see [linkage](#linkage).
19021902
- `feature` - see [compiler features](#compiler-features).
19031903
- `no_builtins` - disable optimizing certain code patterns to invocations of
@@ -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)