File: doc.rs

package info (click to toggle)
rust-error-chain 0.12.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 248 kB
  • sloc: makefile: 4
file content (28 lines) | stat: -rw-r--r-- 439 bytes parent folder | download | duplicates (33)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#![deny(missing_docs)]

//! This module is used to check that all generated items are documented.

#[macro_use]
extern crate error_chain;

/// Inner module.
pub mod inner {
    error_chain! {}
}

error_chain! {
    links {
        Inner(inner::Error, inner::ErrorKind) #[doc = "Doc"];
    }
    foreign_links {
        Io(::std::io::Error) #[doc = "Io"];
    }
    errors {
        /// Doc
        Test2 {

        }
    }
}

fn main() {}