fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

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