You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mismatched types
`egui_macroquad::egui::Context` and `egui::context::Context` have similar names, but are actually distinct types
perhaps two different versions of crate `egui` are being used?rustc[Click for full compiler diagnostic](rust-analyzer-diagnostics-view:/diagnostic%20message%20%5B6%5D?6#file%3A%2F%2F%2Fhome%2Fvega%2FCoding%2FTraining%2Ftrying-wasm-macroquad%2Fapp%2Fsrc%2Fmain.rs)
main.rs(34, 35): arguments to this method are incorrect
context.rs(225, 1): `egui_macroquad::egui::Context` is defined in crate `egui`
context.rs(684, 1): `egui::context::Context` is defined in crate `egui`
demo_app_windows.rs(176, 12): method defined here
the egui_ctx is defined both in the egui crate and the macroquad egui binding.
Fiddling with the versions of egui does not fix it.
There is no example toml, but I have tried every variation of importing egui, no egui, just this library, the egui-miniquad lib, etc.
The egui_ctx type is ambiguous to rustc. Even with explicit importing of egui from this library, it still mows over the egui_ctx definition.
The text was updated successfully, but these errors were encountered:
the error is as follows :
the egui_ctx is defined both in the egui crate and the macroquad egui binding.
Fiddling with the versions of egui does not fix it.
There is no example toml, but I have tried every variation of importing egui, no egui, just this library, the egui-miniquad lib, etc.
The egui_ctx type is ambiguous to rustc. Even with explicit importing of egui from this library, it still mows over the egui_ctx definition.
The text was updated successfully, but these errors were encountered: