Skip to content

Commit 2f7b320

Browse files
committed
extend on-unimplemented docs
1 parent ac3290e commit 2f7b320

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/doc/unstable-book/src/language-features/on-unimplemented.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ error[E0277]: `&str` is not an iterator
139139
= note: required by `std::iter::IntoIterator::into_iter`
140140
```
141141

142-
If you need to filter on multiple attributes, you can use `all` in the following way:
142+
If you need to filter on multiple attributes, you can use `all`, `any` or
143+
`not` in the following way:
143144

144145
```rust,compile_fail
145146
#[rustc_on_unimplemented(
@@ -149,4 +150,4 @@ If you need to filter on multiple attributes, you can use `all` in the following
149150
)
150151
)]
151152
pub trait From<T>: Sized { /* ... */ }
152-
```
153+
```

0 commit comments

Comments
 (0)