Files
gentoo-utils/tests/ui/same-from-type.stderr
John Turner 6eba9cd92c Squashed 'subprojects/thiserror/' content from commit 247eab5
git-subtree-dir: subprojects/thiserror
git-subtree-split: 247eab5d79e27ad28859afdf8bc600a4242829b7
2025-11-15 20:18:36 +00:00

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`