forked from gentoo-utils/gentoo-utils
git-subtree-dir: subprojects/thiserror git-subtree-split: 247eab5d79e27ad28859afdf8bc600a4242829b7
9 lines
369 B
Plaintext
9 lines
369 B
Plaintext
error[E0119]: conflicting implementations of trait `From<std::io::Error>` for type `Error`
|
|
--> tests/ui/same-from-type.rs:8:15
|
|
|
|
|
6 | OpenFile(#[from] std::io::Error),
|
|
| ------- first implementation here
|
|
7 | #[error("failed to close")]
|
|
8 | CloseFile(#[from] std::io::Error),
|
|
| ^^^^^^^ conflicting implementation for `Error`
|