1error: cannot find macro `X` in this scope 2 --> $DIR/issue-88206.rs:64:5 3 | 4LL | X!(); 5 | ^ 6 | 7note: `X` is imported here, but it is a struct, not a macro 8 --> $DIR/issue-88206.rs:17:35 9 | 10LL | use hey::{Serialize, Deserialize, X}; 11 | ^ 12 13error: cannot find macro `test` in this scope 14 --> $DIR/issue-88206.rs:60:5 15 | 16LL | test!(); 17 | ^^^^ 18 | 19 = note: `test` is in scope, but it is an attribute: `#[test]` 20 21error: cannot find macro `Copy` in this scope 22 --> $DIR/issue-88206.rs:56:5 23 | 24LL | Copy!(); 25 | ^^^^ 26 | 27 = note: `Copy` is in scope, but it is a derive macro: `#[derive(Copy)]` 28 29error: cannot find macro `Box` in this scope 30 --> $DIR/issue-88206.rs:52:5 31 | 32LL | Box!(); 33 | ^^^ 34 | 35 = note: `Box` is in scope, but it is a struct, not a macro 36 37error: cannot find macro `from_utf8` in this scope 38 --> $DIR/issue-88206.rs:49:5 39 | 40LL | from_utf8!(); 41 | ^^^^^^^^^ 42 | 43note: `from_utf8` is imported here, but it is a function, not a macro 44 --> $DIR/issue-88206.rs:5:5 45 | 46LL | use std::str::*; 47 | ^^^^^^^^^^^ 48 49error: cannot find attribute `println` in this scope 50 --> $DIR/issue-88206.rs:43:3 51 | 52LL | #[println] 53 | ^^^^^^^ 54 | 55 = note: `println` is in scope, but it is a function-like macro 56 57error: cannot find attribute `from_utf8_unchecked` in this scope 58 --> $DIR/issue-88206.rs:39:3 59 | 60LL | #[from_utf8_unchecked] 61 | ^^^^^^^^^^^^^^^^^^^ 62 | 63note: `from_utf8_unchecked` is imported here, but it is a function, not an attribute 64 --> $DIR/issue-88206.rs:5:5 65 | 66LL | use std::str::*; 67 | ^^^^^^^^^^^ 68 69error: cannot find attribute `Deserialize` in this scope 70 --> $DIR/issue-88206.rs:35:3 71 | 72LL | #[Deserialize] 73 | ^^^^^^^^^^^ 74 | 75note: `Deserialize` is imported here, but it is a trait, not an attribute 76 --> $DIR/issue-88206.rs:17:22 77 | 78LL | use hey::{Serialize, Deserialize, X}; 79 | ^^^^^^^^^^^ 80 81error: cannot find derive macro `println` in this scope 82 --> $DIR/issue-88206.rs:30:10 83 | 84LL | #[derive(println)] 85 | ^^^^^^^ 86 | 87 = note: `println` is in scope, but it is a function-like macro 88 89error: cannot find derive macro `from_utf8_mut` in this scope 90 --> $DIR/issue-88206.rs:26:10 91 | 92LL | #[derive(from_utf8_mut)] 93 | ^^^^^^^^^^^^^ 94 | 95note: `from_utf8_mut` is imported here, but it is a function, not a derive macro 96 --> $DIR/issue-88206.rs:5:5 97 | 98LL | use std::str::*; 99 | ^^^^^^^^^^^ 100 101error: cannot find derive macro `Serialize` in this scope 102 --> $DIR/issue-88206.rs:22:10 103 | 104LL | #[derive(Serialize)] 105 | ^^^^^^^^^ 106 | 107note: `Serialize` is imported here, but it is only a trait, without a derive macro 108 --> $DIR/issue-88206.rs:17:11 109 | 110LL | use hey::{Serialize, Deserialize, X}; 111 | ^^^^^^^^^ 112 113error: aborting due to 11 previous errors 114 115