derive_less 0.2.0

A macro for templating item declarations.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// https://github.com/segeljakt/derive_less/issues/3

#![allow(dead_code)]
#![allow(unused_attributes)]

use derive_less::derive_less;

derive_less! {
    #[derive(Debug)] pub struct __ { pub __:__ }

    struct S<T: Trait> {
        f: T,
    }
}

pub trait Trait {}

fn main() {}