fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: `proc-macro` crate types currently cannot export any items other than functions tagged with `#[proc_macro]`, `#[proc_macro_derive]`, or `#[proc_macro_attribute]` 2 --> $DIR/implicit_hasher.rs:14:1 3 | 4LL | pub trait Foo<T>: Sized { 5 | ^^^^^^^^^^^^^^^^^^^^^^^ 6 7error: `proc-macro` crate types currently cannot export any items other than functions tagged with `#[proc_macro]`, `#[proc_macro_derive]`, or `#[proc_macro_attribute]` 8 --> $DIR/implicit_hasher.rs:71:1 9 | 10LL | pub fn foo(_map: &mut HashMap<i32, i32>, _set: &mut HashSet<i32>) {} 11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 12 13error: `proc-macro` crate types currently cannot export any items other than functions tagged with `#[proc_macro]`, `#[proc_macro_derive]`, or `#[proc_macro_attribute]` 14 --> $DIR/implicit_hasher.rs:74:1 15 | 16LL | pub mod gen { 17 | ^^^^^^^^^^^ 18 19error: `proc-macro` crate types currently cannot export any items other than functions tagged with `#[proc_macro]`, `#[proc_macro_derive]`, or `#[proc_macro_attribute]` 20 --> $DIR/implicit_hasher.rs:92:1 21 | 22LL | pub mod test_macro; 23 | ^^^^^^^^^^^^^^^^^^^ 24 25error: `proc-macro` crate types currently cannot export any items other than functions tagged with `#[proc_macro]`, `#[proc_macro_derive]`, or `#[proc_macro_attribute]` 26 --> $DIR/implicit_hasher.rs:96:1 27 | 28LL | external! { 29 | ^^^^^^^^^ 30 | 31 = note: this error originates in the macro `external` (in Nightly builds, run with -Z macro-backtrace for more info) 32 33error: `proc-macro` crate types currently cannot export any items other than functions tagged with `#[proc_macro]`, `#[proc_macro_derive]`, or `#[proc_macro_attribute]` 34 --> $DIR/implicit_hasher.rs:101:1 35 | 36LL | pub async fn election_vote(_data: HashMap<i32, i32>) {} 37 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 38 39error: aborting due to 6 previous errors 40