Linter ICEs when zst_query
lint is run on bevy_lint
#252
Labels
A-Linter
Related to the linter and custom lints
C-Bug
A bug in the program
S-Needs-Investigation
This issue requires detective work to figure out what's going wrong
Steps to Reproduce
You can reproduce this by checking out #251 and adding the following to
bevy_lint/Cargo.toml
:Finally, run the following:
cd bevy_lint cargo build cargo run
Error
rustc-ice-2025-01-31T14_35_43-19839.txt
Theory
I believe this is the line that causes the error. It only seems to happen when
zst_query
is run. I theorize it has to do with the lint pass's use ofItemCtxt
, but I'm not sure.The text was updated successfully, but these errors were encountered: