Skip to content

old_default_config_path borrow after move #479

@OST-Gh

Description

@OST-Gh

Description

Upon trying to update it a few minutes ago, the compilation failed.

The issue seems to be that, in the main.rs file, the old_default_config_path variable gets used in platform (Mac) specific code, which seems to have simply moved it into the fallback value of config_path. The problem with that is this moved value is used in the conditional right below it.

Steps to Reproduce

No response

Operating System

macOS

Installation Method

crates.io (cargo install)

Ferium version

5.0.0

Additional Information

I created a fork with a hotfix(P.R.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions