David Tolnay | 831ad54 | 2018-11-06 20:29:20 -0800 | [diff] [blame] | 1 | macro_rules! hide_from_rustfmt { |
2 | ($($tt:tt)*) => { | ||||
3 | $($tt)* | ||||
4 | }; | ||||
5 | } | ||||
6 | |||||
David Tolnay | c3f9856 | 2018-11-02 08:55:05 -0700 | [diff] [blame] | 7 | #[cfg(not(all( |
8 | feature = "derive", | ||||
9 | feature = "full", | ||||
10 | feature = "parsing", | ||||
11 | feature = "printing", | ||||
12 | feature = "visit", | ||||
13 | feature = "visit-mut", | ||||
14 | feature = "fold", | ||||
15 | feature = "clone-impls", | ||||
16 | feature = "extra-traits", | ||||
17 | feature = "proc-macro", | ||||
18 | )))] | ||||
David Tolnay | 831ad54 | 2018-11-06 20:29:20 -0800 | [diff] [blame] | 19 | hide_from_rustfmt! { |
20 | mod error; | ||||
21 | } |