Skip to content

Commit

Permalink
Merge pull request rust-lang#39 from rillian/ignore
Browse files Browse the repository at this point in the history
Document the `ignore` function attribute.
  • Loading branch information
steveklabnik authored Apr 13, 2017
2 parents 3a64d81 + d3f246c commit 52fee73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ type int8_t = i8;
item](#language-items) for more details.
- `test` - indicates that this function is a test function, to only be compiled
in case of `--test`.
- `ignore` - indicates that this test function is disabled.
- `should_panic` - indicates that this test function should panic, inverting the success condition.
- `cold` - The function is unlikely to be executed, so optimize it (and calls
to it) differently.
Expand Down

0 comments on commit 52fee73

Please sign in to comment.