Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visualize ownership and lifetimes in tests. #51

Open
gerard-ryan-immersaview opened this issue Feb 19, 2025 · 1 comment
Open

Visualize ownership and lifetimes in tests. #51

gerard-ryan-immersaview opened this issue Feb 19, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@gerard-ryan-immersaview

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
Copy link
Owner

cordx56 commented Feb 23, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants