New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove primitive negated goals, crates, and LocalTo predicates #32

Merged
merged 1 commit into from May 8, 2017

Conversation

Projects
None yet
2 participants
@aturon
Collaborator

aturon commented Apr 27, 2017

This is all in preparation for the move to a modal world, where negation will be a "derived" operator, and we only need to know whether a given type/trait is "upstream" or not"

Remove primitive negated goals, crates, and LocalTo predicates
This is all in preparation for the move to a modal world, where negation
will be a "derived" operator, and we only need to know whether a given
type/trait is "upstream" or not"

@aturon aturon referenced this pull request Apr 29, 2017

Closed

Tests for partial overlap #8

@nikomatsakis

Do you want to fix that bug in a separate PR, or roll it in here?

ty_unify_snapshot,
krate_unify_snapshot,
}
InferenceSnapshot { ty_unify_snapshot }

This comment has been minimized.

@nikomatsakis

nikomatsakis May 3, 2017

Member

Hmm, this seems like a pre-existing bug, but shouldn't there be a lifetime_snapshot in this struct too...? I guess I forgot to add one.

@nikomatsakis

nikomatsakis May 3, 2017

Member

Hmm, this seems like a pre-existing bug, but shouldn't there be a lifetime_snapshot in this struct too...? I guess I forgot to add one.

ty_unify_snapshot,
krate_unify_snapshot,
}
InferenceSnapshot { ty_unify_snapshot }
}
pub fn rollback_to(&mut self, snapshot: InferenceSnapshot) {
self.ty_unify.rollback_to(snapshot.ty_unify_snapshot);

This comment has been minimized.

@nikomatsakis

nikomatsakis May 3, 2017

Member

Similarly, we would need to rollback here.

@nikomatsakis

nikomatsakis May 3, 2017

Member

Similarly, we would need to rollback here.

@aturon

This comment has been minimized.

Show comment
Hide comment
@aturon

aturon May 8, 2017

Collaborator

I'm removing snapshots entirely on my current branch, so we should just merge as-is.

Collaborator

aturon commented May 8, 2017

I'm removing snapshots entirely on my current branch, so we should just merge as-is.

@nikomatsakis

This comment has been minimized.

Show comment
Hide comment
@nikomatsakis
Member

nikomatsakis commented May 8, 2017

OK.

@nikomatsakis nikomatsakis merged commit 4195e1b into rust-lang-nursery:master May 8, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment