Skip to content

fixes #3151 by skipping the lint instead of crashing #3152

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

Merged
merged 2 commits into from
Sep 10, 2018

Conversation

PSeitz
Copy link
Contributor

@PSeitz PSeitz commented Sep 8, 2018

No description provided.

@PSeitz
Copy link
Contributor Author

PSeitz commented Sep 9, 2018

the dogfood error is unrelated, like in other recent pull requests #3149 #3148

.and_then(|snip| Some(item.span.lo() + BytePos(snip.find("impl")? as u32 + 4)));
if let Some(pos) = pos {
Span::new(pos, pos, item.span.data().ctxt)
}else{
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add some spaces here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, done. cargo fmt didn't change this, maybe we should adjust rustfmt.toml?

Copy link
Contributor

Choose a reason for hiding this comment

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

weird, not sure why it wouldn't pick up on that.

@oli-obk oli-obk merged commit 1c1030f into rust-lang:master Sep 10, 2018
@Manishearth
Copy link
Member

Hi! Could you leave the requested comment in #3230 for relicensing?

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.

3 participants