blob: 4965e64310591f332beaeff4a8643434b07a88d4 (
plain)
1
2
3
4
5
6
7
8
9
|
This error indicates that a `#[non_exhaustive]` attribute was incorrectly placed
on something other than a struct or enum.
Erroneous code example:
```compile_fail,E0701
#[non_exhaustive]
trait Foo { }
```
|