| 1 |
error: expected identifier |
| 2 |
--> tests/ui/derive-invalid-crate-overwrite.rs:6:17 |
| 3 |
| |
| 4 |
6 | #[defmt(crate = "not a path")] |
| 5 |
| ^^^^^^^^^^^^ |
| 6 |
|
| 7 |
error: expected `=` |
| 8 |
--> tests/ui/derive-invalid-crate-overwrite.rs:10:14 |
| 9 |
| |
| 10 |
10 | #[defmt(crate(defmt))] |
| 11 |
| ^ |
| 12 |
|
| 13 |
error[E0432]: unresolved import `unresolved` |
| 14 |
--> tests/ui/derive-invalid-crate-overwrite.rs:1:10 |
| 15 |
| |
| 16 |
1 | #[derive(defmt::Format)] |
| 17 |
| ^^^^^^^^^^^^^ no external crate `unresolved` |
| 18 |
| |
| 19 |
= note: this error originates in the derive macro `defmt::Format` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 20 |
|
| 21 |
error[E0433]: failed to resolve: use of undeclared crate or module `unresolved` |
| 22 |
--> tests/ui/derive-invalid-crate-overwrite.rs:2:17 |
| 23 |
| |
| 24 |
2 | #[defmt(crate = unresolved)] |
| 25 |
| ^^^^^^^^^^ use of undeclared crate or module `unresolved` |