rust/tests/ui/implicit_hasher.stderr

41 lines
1.8 KiB
Plaintext
Raw Normal View History

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/implicit_hasher.rs:14:1
2017-10-05 09:57:31 -05:00
|
LL | pub trait Foo<T>: Sized {
| ^^^^^^^^^^^^^^^^^^^^^^^
2017-10-05 09:57:31 -05:00
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/implicit_hasher.rs:71:1
2017-10-05 09:57:31 -05:00
|
2018-12-27 09:57:55 -06:00
LL | pub fn foo(_map: &mut HashMap<i32, i32>, _set: &mut HashSet<i32>) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2017-10-05 09:57:31 -05:00
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/implicit_hasher.rs:74:1
2019-10-26 14:53:42 -05:00
|
LL | pub mod gen {
| ^^^^^^^^^^^
2017-10-05 09:57:31 -05:00
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/implicit_hasher.rs:92:1
2019-10-26 14:53:42 -05:00
|
LL | pub mod test_macro;
| ^^^^^^^^^^^^^^^^^^^
2017-10-10 22:10:10 -05:00
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/implicit_hasher.rs:96:1
2019-10-26 14:53:42 -05:00
|
LL | external! {
| ^^^^^^^^^
2017-10-10 22:10:10 -05:00
|
= note: this error originates in the macro `external` (in Nightly builds, run with -Z macro-backtrace for more info)
2017-10-10 22:10:10 -05:00
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/implicit_hasher.rs:101:1
|
LL | pub async fn election_vote(_data: HashMap<i32, i32>) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 6 previous errors
2018-01-16 10:06:27 -06:00