Skip to content

Possible bug in lifetime checker of rustc 1.62 #17

Closed as not planned
Closed as not planned
@NobodyXu

Description

@NobodyXu

I found that rustc rejects when I added this commit that changes nothing related to the error.

The code where error resides worked just fine without this commit or on 1.61 or earlier.

@jonhoo Could this be a bug in the rustc?

P.S. It failed on my MacOS M1 but succeeded in the CI... Really strange.
I also experienced clippy reports the lifetime error but cargo does not even without this commit.

I really have no idea what is going on.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions