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