diff options
| author | Yoshiki Matsuda <myskjp@gmail.com> | 2022-05-03 18:33:56 +0900 |
|---|---|---|
| committer | Yoshiki Matsuda <myskjp@gmail.com> | 2022-05-03 18:33:56 +0900 |
| commit | 3d12fd0fafa31e50d42745dea32c64e409949bf3 (patch) | |
| tree | fc0b1d5c6bc94426a5aa68ce14eac85c1d99c9e9 | |
| parent | 6d8b56972ce239f107f03001fef8982849be34a9 (diff) | |
| download | rust-3d12fd0fafa31e50d42745dea32c64e409949bf3.tar.gz rust-3d12fd0fafa31e50d42745dea32c64e409949bf3.zip | |
ignore a doctest for the non-exported macro
| -rw-r--r-- | library/core/src/internal_macros.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/internal_macros.rs b/library/core/src/internal_macros.rs index 7ef78e0b48a..5d4c9ba7395 100644 --- a/library/core/src/internal_macros.rs +++ b/library/core/src/internal_macros.rs @@ -190,7 +190,7 @@ macro_rules! impl_fn_for_zst { /// /// # Example /// -/// ``` +/// ```ignore(cannot-test-this-because-non-exported-macro) /// cfg_if! { /// if #[cfg(unix)] { /// fn foo() { /* unix specific functionality */ } |
