2021-08-22 15:16:24 +00:00
|
|
|
error: cannot find macro `X` in this scope
|
|
|
|
--> $DIR/issue-88206.rs:64:5
|
|
|
|
|
|
|
|
|
LL | X!();
|
|
|
|
| ^
|
|
|
|
|
|
2021-08-22 16:15:07 +00:00
|
|
|
note: `X` is imported here, but it is a struct, not a macro
|
2021-08-22 15:16:24 +00:00
|
|
|
--> $DIR/issue-88206.rs:17:35
|
|
|
|
|
|
|
|
|
LL | use hey::{Serialize, Deserialize, X};
|
|
|
|
| ^
|
|
|
|
|
2021-08-22 13:05:13 +00:00
|
|
|
error: cannot find macro `test` in this scope
|
2021-08-22 15:16:24 +00:00
|
|
|
--> $DIR/issue-88206.rs:60:5
|
2021-08-22 13:05:13 +00:00
|
|
|
|
|
|
|
|
LL | test!();
|
|
|
|
| ^^^^
|
|
|
|
|
|
2021-08-22 15:26:19 +00:00
|
|
|
= note: `test` is in scope, but it is an attribute: `#[test]`
|
2021-08-22 13:05:13 +00:00
|
|
|
|
|
|
|
error: cannot find macro `Copy` in this scope
|
2021-08-22 15:16:24 +00:00
|
|
|
--> $DIR/issue-88206.rs:56:5
|
2021-08-22 13:05:13 +00:00
|
|
|
|
|
|
|
|
LL | Copy!();
|
|
|
|
| ^^^^
|
|
|
|
|
|
2021-08-22 15:26:19 +00:00
|
|
|
= note: `Copy` is in scope, but it is a derive macro: `#[derive(Copy)]`
|
2021-08-22 13:05:13 +00:00
|
|
|
|
|
|
|
error: cannot find macro `Box` in this scope
|
2021-08-22 15:16:24 +00:00
|
|
|
--> $DIR/issue-88206.rs:52:5
|
2021-08-22 13:05:13 +00:00
|
|
|
|
|
|
|
|
LL | Box!();
|
|
|
|
| ^^^
|
|
|
|
|
|
2021-08-22 16:15:07 +00:00
|
|
|
= note: `Box` is in scope, but it is a struct, not a macro
|
2021-08-22 13:05:13 +00:00
|
|
|
|
|
|
|
error: cannot find macro `from_utf8` in this scope
|
2021-08-22 15:16:24 +00:00
|
|
|
--> $DIR/issue-88206.rs:49:5
|
2021-08-22 13:05:13 +00:00
|
|
|
|
|
|
|
|
LL | from_utf8!();
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
2021-08-22 16:15:07 +00:00
|
|
|
note: `from_utf8` is imported here, but it is a function, not a macro
|
2021-08-22 14:33:21 +00:00
|
|
|
--> $DIR/issue-88206.rs:5:5
|
2021-08-22 13:05:13 +00:00
|
|
|
|
|
|
|
|
LL | use std::str::*;
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: cannot find attribute `println` in this scope
|
2021-08-22 15:16:24 +00:00
|
|
|
--> $DIR/issue-88206.rs:43:3
|
2021-08-22 13:05:13 +00:00
|
|
|
|
|
|
|
|
LL | #[println]
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `println` is in scope, but it is a function-like macro
|
|
|
|
|
|
|
|
error: cannot find attribute `from_utf8_unchecked` in this scope
|
2021-08-22 15:16:24 +00:00
|
|
|
--> $DIR/issue-88206.rs:39:3
|
2021-08-22 13:05:13 +00:00
|
|
|
|
|
|
|
|
LL | #[from_utf8_unchecked]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2021-08-22 16:15:07 +00:00
|
|
|
note: `from_utf8_unchecked` is imported here, but it is a function, not an attribute
|
2021-08-22 14:33:21 +00:00
|
|
|
--> $DIR/issue-88206.rs:5:5
|
2021-08-22 13:05:13 +00:00
|
|
|
|
|
|
|
|
LL | use std::str::*;
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: cannot find attribute `Deserialize` in this scope
|
2021-08-22 15:16:24 +00:00
|
|
|
--> $DIR/issue-88206.rs:35:3
|
2021-08-22 13:05:13 +00:00
|
|
|
|
|
|
|
|
LL | #[Deserialize]
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
2021-08-22 16:15:07 +00:00
|
|
|
note: `Deserialize` is imported here, but it is a trait, not an attribute
|
2021-08-22 15:16:24 +00:00
|
|
|
--> $DIR/issue-88206.rs:17:22
|
2021-08-22 13:05:13 +00:00
|
|
|
|
|
2021-08-22 15:16:24 +00:00
|
|
|
LL | use hey::{Serialize, Deserialize, X};
|
2021-08-22 13:05:13 +00:00
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: cannot find derive macro `println` in this scope
|
2021-08-22 15:16:24 +00:00
|
|
|
--> $DIR/issue-88206.rs:30:10
|
2021-08-22 13:05:13 +00:00
|
|
|
|
|
|
|
|
LL | #[derive(println)]
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `println` is in scope, but it is a function-like macro
|
|
|
|
|
|
|
|
error: cannot find derive macro `from_utf8_mut` in this scope
|
2021-08-22 15:16:24 +00:00
|
|
|
--> $DIR/issue-88206.rs:26:10
|
2021-08-22 13:05:13 +00:00
|
|
|
|
|
|
|
|
LL | #[derive(from_utf8_mut)]
|
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
|
2021-08-22 16:15:07 +00:00
|
|
|
note: `from_utf8_mut` is imported here, but it is a function, not a derive macro
|
2021-08-22 14:33:21 +00:00
|
|
|
--> $DIR/issue-88206.rs:5:5
|
2021-08-22 13:05:13 +00:00
|
|
|
|
|
|
|
|
LL | use std::str::*;
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: cannot find derive macro `Serialize` in this scope
|
2021-08-22 15:16:24 +00:00
|
|
|
--> $DIR/issue-88206.rs:22:10
|
2021-08-22 13:05:13 +00:00
|
|
|
|
|
|
|
|
LL | #[derive(Serialize)]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
2021-08-22 16:22:06 +00:00
|
|
|
note: `Serialize` is imported here, but it is only a trait, without a derive macro
|
2021-08-22 15:16:24 +00:00
|
|
|
--> $DIR/issue-88206.rs:17:11
|
2021-08-22 13:05:13 +00:00
|
|
|
|
|
2021-08-22 15:16:24 +00:00
|
|
|
LL | use hey::{Serialize, Deserialize, X};
|
2021-08-22 13:05:13 +00:00
|
|
|
| ^^^^^^^^^
|
|
|
|
|
2021-08-22 15:16:24 +00:00
|
|
|
error: aborting due to 11 previous errors
|
2021-08-22 13:05:13 +00:00
|
|
|
|