Skip to content

Commit 1645d08

Browse files
authored
Merge pull request rust-lang#247 from dtolnay-contrib/errorbound
Add Error trait to list of clear-cut nevers in c-struct-bounds
2 parents ac63584 + ba11e91 commit 1645d08

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/future-proofing.md

+1
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ The following traits should never be used in bounds on data structures:
172172
- `Debug`
173173
- `Display`
174174
- `Default`
175+
- `Error`
175176
- `Serialize`
176177
- `Deserialize`
177178
- `DeserializeOwned`

0 commit comments

Comments
 (0)