Skip to content

Lifetime Markers do not exhibit proper variance used certain ways #20533

Closed
@Ericson2314

Description

@Ericson2314
Contributor

See http://is.gd/KdHumF . Only the third block triggers the borrow error, when presumably all three should.

Activity

kmcallister

kmcallister commented on Jan 14, 2015

@kmcallister
Contributor

Nominating.

added this to the 1.0 beta milestone on Jan 15, 2015
self-assigned this
on Jan 16, 2015
nikomatsakis

nikomatsakis commented on Jan 16, 2015

@nikomatsakis
Contributor

Hmm, on my variance branch, I get 3 errors.

nikomatsakis

nikomatsakis commented on Jan 16, 2015

@nikomatsakis
Contributor

But on master I do not. Not sure what bug I fixed there :P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @steveklabnik@brson@nikomatsakis@kmcallister@Ericson2314

      Issue actions

        Lifetime Markers do not exhibit proper variance used certain ways · Issue #20533 · rust-lang/rust