Skip to content

regression: mismatched types (due to stabilization of PathBuf::add_extension) #147979

@BoxyUwU

Description

@BoxyUwU
[INFO] [stdout]    --> src/builder.rs:265:9
[INFO] [stdout]     |
[INFO] [stdout] 263 |     fn prg_index_path(&self) -> PathBuf {
[INFO] [stdout]     |                                 ------- expected `PathBuf` because of return type
[INFO] [stdout] 264 |         let ext = format!("k{}.w{}.idx", self.pandora_k, self.pandora_w);
[INFO] [stdout] 265 |         self.prg_path().add_extension(ext.as_str().as_ref())
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `PathBuf`, found `bool`

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.S-has-bisectionStatus: A bisection has been found for this issueT-libsRelevant to the library team, which will review and decide on the PR/issue.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions