File: duplicate-enum-source.rs

package info (click to toggle)
libclamunrar 1.0.3-1~deb12u1
  • links: PTS, VCS
  • area: non-free
  • in suites: bookworm
  • size: 74,820 kB
  • sloc: ansic: 182,588; cpp: 31,339; python: 4,387; javascript: 2,195; yacc: 1,357; lex: 716; sh: 257; makefile: 72
file content (13 lines) | stat: -rw-r--r-- 196 bytes parent folder | download | duplicates (60)
1
2
3
4
5
6
7
8
9
10
11
12
13
use thiserror::Error;

#[derive(Error, Debug)]
pub enum ErrorEnum {
    Confusing {
        #[source]
        a: std::io::Error,
        #[source]
        b: anyhow::Error,
    },
}

fn main() {}