From d3f246c9d34c800c5679f8e086ce97e8242b27c4 Mon Sep 17 00:00:00 2001 From: Ralph Giles Date: Wed, 12 Apr 2017 13:12:17 -0700 Subject: [PATCH] Document the `ignore` function attribute. This is very brief, without any usage or motivation. There's more information in the 'Testing' section of the Rust Book. --- src/attributes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/attributes.md b/src/attributes.md index 4749a10a67dd8..42009e8cb6632 100644 --- a/src/attributes.md +++ b/src/attributes.md @@ -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.