summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/exports.stderr
blob: 7b23d08f2a8a57bdcdefca923d4905ddb88360f9 (plain)
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
error: `proc-macro` crate types currently cannot export any items other than functions tagged with `#[proc_macro]`, `#[proc_macro_derive]`, or `#[proc_macro_attribute]`
  --> $DIR/exports.rs:7:1
   |
LL | pub fn a() {}
   | ^^^^^^^^^^

error: `proc-macro` crate types currently cannot export any items other than functions tagged with `#[proc_macro]`, `#[proc_macro_derive]`, or `#[proc_macro_attribute]`
  --> $DIR/exports.rs:8:1
   |
LL | pub struct B;
   | ^^^^^^^^^^^^^

error: `proc-macro` crate types currently cannot export any items other than functions tagged with `#[proc_macro]`, `#[proc_macro_derive]`, or `#[proc_macro_attribute]`
  --> $DIR/exports.rs:9:1
   |
LL | pub enum C {}
   | ^^^^^^^^^^

error: `proc-macro` crate types currently cannot export any items other than functions tagged with `#[proc_macro]`, `#[proc_macro_derive]`, or `#[proc_macro_attribute]`
  --> $DIR/exports.rs:10:1
   |
LL | pub mod d {}
   | ^^^^^^^^^

error: aborting due to 4 previous errors