Skip to content

Conversation

@matklad
Copy link
Contributor

@matklad matklad commented Apr 16, 2020

bors r+
🤖

bors bot added a commit that referenced this pull request Apr 16, 2020
3994: Don't expose SyntaxNodePtr impl details r=matklad a=matklad



bors r+
🤖

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
@bors
Copy link
Contributor

bors bot commented Apr 16, 2020

Build failed:

// `range` private afterwards
let mut ptr = SyntaxNodePtr::new(parent);
ptr.range = TextRange::offset_len(ptr.range().start(), len);
ptr.range = TextRange::offset_len(ptr.range .start(), len);
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
ptr.range = TextRange::offset_len(ptr.range .start(), len);
ptr.range = TextRange::offset_len(ptr.range.start(), len);

@matklad
Copy link
Contributor Author

matklad commented Apr 16, 2020

bors r+

@bors
Copy link
Contributor

bors bot commented Apr 16, 2020

@bors bors bot merged commit a4cda3e into rust-lang:master Apr 16, 2020
@matklad matklad deleted the abstract branch June 25, 2020 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants