Skip to content

Conversation

huonw
Copy link
Contributor

@huonw huonw commented Jun 13, 2013

Previously, this was not a global call, and so when #[deriving(Rand)]
was in any module other than the top-level one, it failed (unless there
was a use std; in scope).

Also, fix a minor inconsistency between uints and u32s for this piece
of code.

…ving(Rand)].

Previously, this was not a global call, and so when `#[deriving(Rand)]`
was in any module other than the top-level one, it failed (unless there
was a `use std;` in scope).

Also, fix a minor inconsistency between uints and u32s for this piece
of code.
@huonw
Copy link
Contributor Author

huonw commented Jun 13, 2013

@pnkfelix done. The reason I didn't add an issue number is because it seems that very few (none that I could find) of the other tests xfail'd because of an extern mod had an issue number... so I opened #7103.

@graydon graydon closed this Jun 13, 2013
@pnkfelix
Copy link
Contributor

@huonw ping me after you rebase this to master. Sorry for the inconvenience; but at least there's a good chance this won't happen again. :)

flip1995 pushed a commit to flip1995/rust that referenced this pull request Apr 22, 2021
Add flat_map_option lint

changelog: Add flat_map_option lint

Closes rust-lang#2241
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.

5 participants