-
Notifications
You must be signed in to change notification settings - Fork 188
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
seeing some regression build failure with 3.1.12 release against rust 1.89.0
error: implicit autoref creates a reference to the dereference of a raw pointer
--> guard/src/rules/libyaml/parser.rs:48:16
|
48 | if (*parser).error != sys::YAML_NO_ERROR {
| ^^------^^^^^^^
| |
| this raw pointer has type `*mut yaml_parser_t`
|
= note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
= note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations
= note: `#[deny(dangerous_implicit_autorefs)]` on by default
help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
|
48 | if (&(*parser)).error != sys::YAML_NO_ERROR {
| ++ +
full build log, https://github.com/Homebrew/homebrew-core/actions/runs/17683652511/job/50263469374#step:4:930
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working