Skip to content

Move the TypeCollector trait to the ir module #177

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 1 commit into from
Oct 31, 2016

Conversation

fitzgen
Copy link
Member

@fitzgen fitzgen commented Oct 31, 2016

This commit move the TypeCollector trait out from the codegen module and into its own submodule in ir::type_collector. Additionally, it puts the various TypeCollector trait implementations next to the types that each implementation is for.

I'm going to start using this trait outside of codegen, and I think it makes more sense in ir since it is implemented by ir types and is all about ir things.

r? @emilio

@emilio
Copy link
Contributor

emilio commented Oct 31, 2016

Sounds good. There's a typo in the commit message (This commit move -> this commit moves). r=me apart from that.

@emilio
Copy link
Contributor

emilio commented Oct 31, 2016

@bors-servo delegate+

@bors-servo
Copy link

✌️ @fitzgen can now approve this pull request

This commit moves the `TypeCollector` trait out from the `codegen` module and
into its own submodule in `ir::type_collector`. Additionally, it puts the
various `TypeCollector` trait implementations next to the types that each
implementation is for.
@fitzgen fitzgen force-pushed the move-type-collector branch from d87cf47 to 005fd43 Compare October 31, 2016 22:39
@fitzgen
Copy link
Member Author

fitzgen commented Oct 31, 2016

@bors-servo r=emilio

@bors-servo
Copy link

📌 Commit 005fd43 has been approved by emilio

@bors-servo
Copy link

⌛ Testing commit 005fd43 with merge f967825...

bors-servo pushed a commit that referenced this pull request Oct 31, 2016
Move the `TypeCollector` trait to the `ir` module

This commit move the `TypeCollector` trait out from the `codegen` module and into its own submodule in `ir::type_collector`. Additionally, it puts the various `TypeCollector` trait implementations next to the types that each implementation is for.

I'm going to start using this trait outside of codegen, and I think it makes more sense in `ir` since it is implemented by `ir` types and is all about `ir` things.

r? @emilio
@fitzgen
Copy link
Member Author

fitzgen commented Oct 31, 2016

Thanks! Fixed the typo :)

@bors-servo
Copy link

☀️ Test successful - status-travis

@bors-servo bors-servo merged commit 005fd43 into rust-lang:master Oct 31, 2016
@fitzgen fitzgen deleted the move-type-collector branch October 31, 2016 22:57
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