]>
Commit | Line | Data |
---|---|---|
60c5eb7d | 1 | error: `proc-macro` crate types currently cannot export any items other than functions tagged with `#[proc_macro]`, `#[proc_macro_derive]`, or `#[proc_macro_attribute]` |
0731742a XL |
2 | --> $DIR/exports.rs:7:1 |
3 | | | |
532ac7d7 | 4 | LL | pub fn a() {} |
ba9703b0 | 5 | | ^^^^^^^^^^ |
0731742a | 6 | |
60c5eb7d | 7 | error: `proc-macro` crate types currently cannot export any items other than functions tagged with `#[proc_macro]`, `#[proc_macro_derive]`, or `#[proc_macro_attribute]` |
0731742a XL |
8 | --> $DIR/exports.rs:8:1 |
9 | | | |
532ac7d7 | 10 | LL | pub struct B; |
0731742a XL |
11 | | ^^^^^^^^^^^^^ |
12 | ||
60c5eb7d | 13 | error: `proc-macro` crate types currently cannot export any items other than functions tagged with `#[proc_macro]`, `#[proc_macro_derive]`, or `#[proc_macro_attribute]` |
0731742a XL |
14 | --> $DIR/exports.rs:9:1 |
15 | | | |
532ac7d7 | 16 | LL | pub enum C {} |
ba9703b0 | 17 | | ^^^^^^^^^^ |
0731742a | 18 | |
60c5eb7d | 19 | error: `proc-macro` crate types currently cannot export any items other than functions tagged with `#[proc_macro]`, `#[proc_macro_derive]`, or `#[proc_macro_attribute]` |
0731742a XL |
20 | --> $DIR/exports.rs:10:1 |
21 | | | |
532ac7d7 | 22 | LL | pub mod d {} |
ba9703b0 | 23 | | ^^^^^^^^^ |
0731742a XL |
24 | |
25 | error: aborting due to 4 previous errors | |
26 |