rust-clippy/tests/ui/implicit_hasher.stderr

41 lines
1.8 KiB
Text
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]`
2024-02-17 12:16:29 +00:00
--> tests/ui/implicit_hasher.rs:14:1
2017-10-05 14:57:31 +00:00
|
LL | pub trait Foo<T>: Sized {
| ^^^^^^^^^^^^^^^^^^^^^^^
2017-10-05 14:57:31 +00: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]`
2024-02-17 12:16:29 +00:00
--> tests/ui/implicit_hasher.rs:71:1
2017-10-05 14:57:31 +00:00
|
2018-12-27 15:57:55 +00:00
LL | pub fn foo(_map: &mut HashMap<i32, i32>, _set: &mut HashSet<i32>) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2017-10-05 14:57:31 +00: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]`
2024-02-17 12:16:29 +00:00
--> tests/ui/implicit_hasher.rs:74:1
2019-10-26 19:53:42 +00:00
|
LL | pub mod gen {
| ^^^^^^^^^^^
2017-10-05 14:57:31 +00: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]`
2024-02-17 12:16:29 +00:00
--> tests/ui/implicit_hasher.rs:92:1
2019-10-26 19:53:42 +00:00
|
LL | pub mod test_macro;
| ^^^^^^^^^^^^^^^^^^^
2017-10-11 03:10:10 +00: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]`
2024-02-17 12:16:29 +00:00
--> tests/ui/implicit_hasher.rs:96:1
2019-10-26 19:53:42 +00:00
|
LL | external! {
| ^^^^^^^^^
2017-10-11 03:10:10 +00:00
|
= note: this error originates in the macro `external` (in Nightly builds, run with -Z macro-backtrace for more info)
2017-10-11 03:10:10 +00: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]`
2024-02-17 12:16:29 +00:00
--> tests/ui/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 16:06:27 +00:00