[Rust] macro expansion failed warnings 2
- Lingua principale
- CodeQL
- Stelle
- 10.1k
- Fork
- 2.1k
- Merge medio
- 2g 15h
- PR unite (30g)
- 141
Descrizione
**Description of the issue**
Similarly to https://github.com/github/codeql/issues/19966 I'm also hitting quite a few macro expansion failed warnings:
```
WARN /home/sg/dev/cosmwasm/contracts/ibc-reflect/src/msg.rs:14:21: macro expansion failed: the macro 'vec' expands to ERROR but a Expr was expected
```
As I don't know whether the bugs share a common root cause, I'm opening this issue.
**Reproduction steps**
```
git clone https://github.com/CosmWasm/cosmwasm.git
git checkout cf413c5ad6a58a87e0be894584f01506f3b2e0af^
codeql database create --language=rust "cosmwasm-db-cf413c5ad6a58a87e0be894584f01506f3b2e0af^" --overwrite
```
**Files**
[database-create-20250701.203330.097.log](https://github.com/user-attachments/files/21076863/database-create-20250701.203330.097.log)
[database-index-files-20250701.203333.834.log](https://github.com/user-attachments/files/21076864/database-index-files-20250701.203333.834.log)
[cosmwasm-db-cf413c5ad6a58a87e0be894584f01506f3b2e0af^.zip](https://github.com/intrigus-lgtm/file-dump/releases/tag/cosmwasm-db-cf413c5ad6a58a87e0be894584f01506f3b2e0af.zip)
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Reproduce the report using the listed git checkout and CodeQL database-create command, then inspect the attached database-create and database-index-files logs alongside the database archive. Trace the reported macro expansion warnings in the reproduction and determine whether they share a root cause; done means the cause and a verified resolution are documented.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- rust
- Ambito
- compilers, devtools
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 48/100