displaydoc 0.2.7

A derive macro for implementing the display Trait via a doc comment and string interpolation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[allow(unused_attributes)]
#[rustversion::attr(not(nightly), ignore)]
#[test]
fn no_std() {
    let t = trybuild::TestCases::new();
    t.compile_fail("tests/ui/without.rs");
    t.compile_fail("tests/ui/multi_line_line_break.rs");
    t.compile_fail("tests/ui/multi_line_line_break_block.rs");
    t.pass("tests/ui/multi_line.rs");
    t.pass("tests/ui/multi_line_allow.rs");
    t.compile_fail("tests/ui/enum_prefix_missing.rs");
    t.pass("tests/ui/enum_prefix.rs");
    t.pass("tests/ui/multiple.rs");
}