Visualize ownership and lifetimes in tests.
Closed this issue · 2 comments
gerard-ryan-immersaview commented
What is the problem you're trying to solve
Currently, the lifetimes do not show for #[test] functions or #[cfg(test)] modules.
Describe the solution you'd like
test code work the same as non test code.
Additional context
As a workaround, commenting out #[test] and #[cfg(test)] works.
cordx56 commented
RustOwl uses compile result of workspace by using cargo check.
So if you would like to check #[cfg(...)], the cfg should be ON.
Currently, we cannot specify these options.
cordx56 commented
