Skip to content
This repository has been archived by the owner on Mar 1, 2019. It is now read-only.

Updates for save-analysis #14

Merged
merged 4 commits into from
Feb 1, 2018

Conversation

algesten
Copy link
Contributor

To emit rls-data::Impl in rust save-analysis, we need some changes.

@algesten
Copy link
Contributor Author

Should Relation::id be a u32 or Id? And what about Impl::id is u32 correct there?

src/lib.rs Outdated
@@ -254,6 +254,7 @@ pub struct Relation {
pub kind: RelationKind,
pub from: Id,
pub to: Id,
pub id: u32,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like it should be in RelationKind::Impl rather than Relation, since SuperTrait won't have such an id

@nrc nrc merged commit bad5b83 into rust-dev-tools:master Feb 1, 2018
@algesten algesten deleted the updates-for-save-analysis branch February 1, 2018 16:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants