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