]> git.lizzy.rs Git - rust.git/commitdiff
extend on-unimplemented docs
authorEsteban Küber <esteban@kuber.com.ar>
Mon, 18 Mar 2019 18:06:48 +0000 (11:06 -0700)
committerEsteban Küber <esteban@kuber.com.ar>
Sat, 23 Mar 2019 03:38:14 +0000 (20:38 -0700)
src/doc/unstable-book/src/language-features/on-unimplemented.md

index b156038fba06dc785b679552cd332d3d2704d68e..a770ab65c26f80d97e1de7ed2f9f9f578af6d458 100644 (file)
@@ -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<T>: Sized { /* ... */ }
-```
\ No newline at end of file
+```