diff --git a/src/doc/reference.md b/src/doc/reference.md index a9e247ab93bec..761d33c7b43c8 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -1894,7 +1894,7 @@ type int8_t = i8; ### Crate-only attributes -- `crate_id` - specify the this crate's crate ID. +- `crate_name` - specify the this crate's crate name. - `crate_type` - see [linkage](#linkage). - `feature` - see [compiler features](#compiler-features). - `no_builtins` - disable optimizing certain code patterns to invocations of @@ -1924,6 +1924,8 @@ type int8_t = i8; - `start` - indicates that this function should be used as the entry point, overriding the "start" language item. See the "start" [language item](#language-items) for more details. +- `test` - indicates that this function is a test function, to only be compiled + in case of `--test`. ### Static-only attributes