Uh oh!
There was an error while loading. Please reload this page.
Add docs to librustc/hir/check_attr.rs - #42408
Conversation
rust-highfive
commented
Jun 3, 2017
r? @pnkfelix (rust_highfive has picked a reviewer for you, use r? to override) |
Mark-Simulacrum
commented
Jun 4, 2017
Looks like there are some tidy errors here: |
bjorn3
commented
Jun 4, 2017
fixed tidy errors |
r? @michaelwoerister (I think) |
michaelwoerister
left a comment
There was a problem hiding this comment.
Thanks for the PR, @bjorn3! I've added a comment below.
There was a problem hiding this comment.
I'm not sure if this doc comment is useful. I would prefer a module-level comment saying something like:
//! This module implements some validity checks for attributes.//! In particular it verifies that `#[inline]` and `#[repr]` attributes are //! attached to items that actually support them and if there are//! conflicts between multiple such attributes attached to the same //! item.bjorn3
commented
Jun 8, 2017
Changed it |
michaelwoerister
commented
Jun 9, 2017
Thank you! There is some trailing whitespace on some lines that makes Looks good to me otherwise. |
bjorn3
commented
Jun 11, 2017
Removed trailing whitespace |
Mark-Simulacrum
commented
Jun 11, 2017
@bors r=michaelwoerister |
bors
commented
Jun 11, 2017
📌 Commit f4d89ba has been approved by |
Mark-Simulacrum
commented
Jun 11, 2017
Actually, could you squash these commits down to one please? Thanks! @bors r- |
bjorn3
commented
Jun 13, 2017
Squashed |
Mark-Simulacrum
commented
Jun 13, 2017
Thanks! @bors r=michaelwoerister rollup |
bors
commented
Jun 13, 2017
📌 Commit e759370 has been approved by |
Add docs to librustc/hir/check_attr.rs Also moved `check_attribute` up to ease reading.
Also moved
check_attributeup to ease reading.