File: source-struct-not-error.rs

package info (click to toggle)
mozjs102 102.15.1-1~deb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 905,976 kB
  • sloc: javascript: 1,965,213; cpp: 1,240,505; python: 681,312; ansic: 438,915; xml: 117,665; sh: 18,330; asm: 13,490; makefile: 11,673; yacc: 4,504; perl: 2,222; lex: 1,414; exp: 756; java: 177; ruby: 97; sql: 66; csh: 35; sed: 18
file content (12 lines) | stat: -rw-r--r-- 161 bytes parent folder | download | duplicates (62)
1
2
3
4
5
6
7
8
9
10
11
12
use thiserror::Error;

#[derive(Debug)]
struct NotError;

#[derive(Error, Debug)]
#[error("...")]
pub struct ErrorStruct {
    source: NotError,
}

fn main() {}