Skip to content

Master broken trying to use seek_after function #5570

Closed
@MrAwesome

Description

@MrAwesome

When trying to build clippy off of a clean master, I get the following failure:

error[E0624]: associated function `seek_after` is private
   --> clippy_lints/src/redundant_clone.rs:594:25
    |                  
594 |         self.maybe_live.seek_after(at);
    |                         ^^^^^^^^^^ private associated function
                                  
error: aborting due to previous error

I poked around in rustc_mir and guess that this is the culprit - the timing matches up with when I started seeing breakages locally while testing: rust-lang/rust@65b4482

It looks like changing this to seek_after_primary_effect fixes the build - I'll put up a PR to do that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions