Skip to content

Conversation

@Kimundi
Copy link
Contributor

@Kimundi Kimundi commented Nov 29, 2013

  • Removed module reexport workaround for the integer module macros
  • Removed legacy reexports of cmp::{min, max} in the integer module macros
  • Combined a few macros in vec into one
  • Documented a few issues

Copy link
Contributor

Choose a reason for hiding this comment

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

This isn't removing a macro work-around, right? Would it be possible to have the macro stuff and the #5922 stuff in separate commits?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

They both meet in the VecIterator implementation macro. Separating them would mean introducing additional changes just to remove them again in the next commit.

Copy link
Contributor

Choose a reason for hiding this comment

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

Probably worth at least mentioning that you're removing some dummy fields that gives structs lifetimes in the PR text/commit message.

Copy link
Contributor

Choose a reason for hiding this comment

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

Hm, also, #10703 probably means it's too early to remove them now, as it will allow people to write invalid/unsafe/crashing code.

Copy link
Member

Choose a reason for hiding this comment

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

This should remove the previous FIXME because it's no longer an open issue. I would personally be ok with just copy-pasting all of the attributes/include statements in each of the files using this macro (it's a big step forward in having reasonable documentation for these modules)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay, will do that then

bors added a commit that referenced this pull request Nov 29, 2013
…excrichton

- Removed module reexport workaround for the integer module macros
- Removed legacy reexports of `cmp::{min, max}` in the integer module macros
- Combined a few macros in `vec` into one
- Documented a few issues
@bors bors closed this Nov 29, 2013
@bors bors merged commit 4840064 into rust-lang:master Nov 29, 2013
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 25, 2022
…, r=jonas-schievink

Restart proc-macro client when server reload

Fix rust-lang#10719
flip1995 pushed a commit to flip1995/rust that referenced this pull request May 5, 2023
…rted_modules, r=Alexendoo

Fix `items_after_test_module`: Ignore imported modules

Fixes rust-lang#10713. It does a little bit of dark magic, but intention is what really counts.
changelog:[`items_after_test_module`]: Ignore imported modules (`mod foo;`) with no body.
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.

4 participants