File: same-from-type.stderr

package info (click to toggle)
rust-thiserror 2.0.16-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 532 kB
  • sloc: makefile: 2
file content (8 lines) | stat: -rw-r--r-- 369 bytes parent folder | download | duplicates (26)
1
2
3
4
5
6
7
8
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`