# Ignores whatever follows it
Useful for ignoring functions that are only used for testing
or impl blocks.
## Example
```rust
#[onlytypes::ignore]
fn foo() {
// ...
}
```
Which is equivalent to:
```rust
#[cfg(not(feature = "only-types"))]
#[cfg_attr(feature = "only-types", doc = "This will be ignored by onlytypes.")]
fn foo() {
// ...
}
```