-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
invalidThis doesn't seem rightThis doesn't seem rightoutput mismatchOutput of siderophile does not match the corresponding callgraph labelOutput of siderophile does not match the corresponding callgraph label
Description
siderophile naively looks for "src" occurring in the current Rust file path, and will sometimes overshoot the actual crate root. This sometimes gives output like
unsafe expr in function log::github::log_0::tests::filters::set_boxed_logger
since filters.rs presumably occurs in the tests/ directory of the log crate.
A neat fix would be to give a relative path to ast_walker::find_unsafe_in_file instead of an absolute path.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
invalidThis doesn't seem rightThis doesn't seem rightoutput mismatchOutput of siderophile does not match the corresponding callgraph labelOutput of siderophile does not match the corresponding callgraph label