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