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
Having a Rust project with a workspace and a subcrate, i.e., in Cargo.toml:
[workspace]
members = ["subcrate"]
Running verification with the Cargo.toml of the workspace in focus works as expected, but clicking Verify with Prusti when a file of the subcrate is in focus, will lead to incorrect error reporting by Prusti-Assistant:
Clicking on the error will attempt to open the file subcrate/subcrate/src/lib.rs, which doesn't exist.
Running Cargo-Prusti from a terminal gives the same error message when running it from the outer or inner crate, which might be the cause for the problem in Prusti-Assistant:
error: [Prusti: verification error] the asserted expression might not hold
--> subcrate/src/lib.rs:4:20
|
4 | prusti_assert!(x == 10);
| ^^^^^^^
|
The text was updated successfully, but these errors were encountered:
Having a Rust project with a workspace and a subcrate, i.e., in Cargo.toml:
Running verification with the Cargo.toml of the workspace in focus works as expected, but clicking
Verify with Prusti
when a file of the subcrate is in focus, will lead to incorrect error reporting by Prusti-Assistant:Error when running from Cargo.toml:
Incorrect error when running on lib.rs directly:
Clicking on the error will attempt to open the file
subcrate/subcrate/src/lib.rs
, which doesn't exist.Running Cargo-Prusti from a terminal gives the same error message when running it from the outer or inner crate, which might be the cause for the problem in Prusti-Assistant:
The text was updated successfully, but these errors were encountered: