From 2f7b32091ecdc86520d75aa8fe6bcffb5849732d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Esteban=20K=C3=BCber?= Date: Mon, 18 Mar 2019 11:06:48 -0700 Subject: [PATCH] extend on-unimplemented docs --- .../unstable-book/src/language-features/on-unimplemented.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/doc/unstable-book/src/language-features/on-unimplemented.md b/src/doc/unstable-book/src/language-features/on-unimplemented.md index b156038fba06..a770ab65c26f 100644 --- a/src/doc/unstable-book/src/language-features/on-unimplemented.md +++ b/src/doc/unstable-book/src/language-features/on-unimplemented.md @@ -139,7 +139,8 @@ error[E0277]: `&str` is not an iterator = note: required by `std::iter::IntoIterator::into_iter` ``` -If you need to filter on multiple attributes, you can use `all` in the following way: +If you need to filter on multiple attributes, you can use `all`, `any` or +`not` in the following way: ```rust,compile_fail #[rustc_on_unimplemented( @@ -149,4 +150,4 @@ If you need to filter on multiple attributes, you can use `all` in the following ) )] pub trait From: Sized { /* ... */ } -``` \ No newline at end of file +```