-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
run rustfmt on librustc_metadata folder #37350
Conversation
r? @nrc (rust_highfive has picked a reviewer for you, use r? to override) |
// crate will import them from their original source. | ||
!filemap.lines.borrow().is_empty() && !filemap.is_imported() | ||
}) | ||
.map(|filemap| &**filemap)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is somewhere we can teach Rustfmt to be a bit smarter, but its not the end of the world IMO. More annoying to me is that the alignment of dots is misleading about the scope.
☔ The latest upstream changes (presumably #37301) made this pull request unmergeable. Please resolve the merge conflicts. |
@bors: r+ |
📌 Commit ca83d02 has been approved by |
☔ The latest upstream changes (presumably #37292) made this pull request unmergeable. Please resolve the merge conflicts. |
@nrc |
@bors: r+ |
📌 Commit 892a05d has been approved by |
run rustfmt on librustc_metadata folder
type_shorthands: Default::default(), | ||
predicate_shorthands: Default::default() | ||
}.encode_crate_root(); | ||
opaque: opaque::Encoder::new(&mut cursor), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strange indent (rustfmt
bug?)
run rustfmt on librustc_metadata folder
No description provided.