Skip to content

Use an iterator for reader::tagged_docs.#25760

Merged
bors merged 3 commits into
rust-lang:masterfrom
Ms2ger:tagged_docs
May 29, 2015
Merged

Use an iterator for reader::tagged_docs.#25760
bors merged 3 commits into
rust-lang:masterfrom
Ms2ger:tagged_docs

Conversation

@Ms2ger

@Ms2ger Ms2ger commented May 24, 2015

Copy link
Copy Markdown
Contributor

No description provided.

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @brson

(rust_highfive has picked a reviewer for you, use r? to override)

Comment thread src/librustc/metadata/decoder.rs Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Perhaps this could return a TaggedDocsIterator instead of continuing to use a closure?

@alexcrichton

Copy link
Copy Markdown
Member

I do love me some iterator goodness, thanks @Ms2ger!

@alexcrichton alexcrichton assigned alexcrichton and unassigned brson May 26, 2015
@Ms2ger

Ms2ger commented May 27, 2015

Copy link
Copy Markdown
Contributor Author

r? @alexcrichton

@alexcrichton

Copy link
Copy Markdown
Member

@bors: r+ 817ca99

Manishearth added a commit to Manishearth/rust that referenced this pull request May 27, 2015
@bors

bors commented May 27, 2015

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 817ca99 with merge eddab67...

@bors

bors commented May 27, 2015

Copy link
Copy Markdown
Collaborator

💔 Test failed - auto-linux-64-x-android-t

Manishearth added a commit to Manishearth/rust that referenced this pull request May 27, 2015
bors added a commit that referenced this pull request May 27, 2015
@Manishearth

Copy link
Copy Markdown
Member
/home/rustbuild/src/rust-buildbot/slave/auto-linux-64-x-android-t/build/src/librustc/metadata/decoder.rs:222:39: 222:61 error: use of undeclared type name `TaggedDocsIterator`
/home/rustbuild/src/rust-buildbot/slave/auto-linux-64-x-android-t/build/src/librustc/metadata/decoder.rs:222 fn reexports<'a>(d: rbml::Doc<'a>) -> TaggedDocsIterator<'a> {

@Manishearth

Copy link
Copy Markdown
Member

@bors: r+ rollup

@bors

bors commented May 28, 2015

Copy link
Copy Markdown
Collaborator

📌 Commit 0886b56 has been approved by Manishearth

@bors

bors commented May 28, 2015

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 0886b56 with merge ba84047...

@bors

bors commented May 28, 2015

Copy link
Copy Markdown
Collaborator

💔 Test failed - auto-linux-64-x-android-t

@Manishearth

Copy link
Copy Markdown
Member
/home/rustbuild/src/rust-buildbot/slave/auto-linux-64-x-android-t/build/src/librustc/metadata/decoder.rs:634:9: 634:13 error: mismatched types:
 expected `()`,
    found `bool`
(expected (),
    found bool) [E0308]
/home/rustbuild/src/rust-buildbot/slave/auto-linux-64-x-android-t/build/src/librustc/metadata/decoder.rs:634         true
                                                                                                                     ^~~~
note: in expansion of for loop expansion
/home/rustbuild/src/rust-buildbot/slave/auto-linux-64-x-android-t/build/src/librustc/metadata/decoder.rs:604:5: 635:6 note: expansion site
/home/rustbuild/src/rust-buildbot/slave/auto-linux-64-x-android-t/build/src/librustc/metadata/decoder.rs:634:9: 634:13 help: run `rustc --explain E0308` to see a detailed explanation
error: aborting due to previous error
make: *** [x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc] Error 101

steveklabnik added a commit to steveklabnik/rust that referenced this pull request May 29, 2015
@steveklabnik

Copy link
Copy Markdown
Contributor

@bors: r-

@steveklabnik

Copy link
Copy Markdown
Contributor

this caused #25870 to fail, i think

@Manishearth

Copy link
Copy Markdown
Member

@bors: r+

@bors

bors commented May 29, 2015

Copy link
Copy Markdown
Collaborator

📌 Commit b700b37 has been approved by Manishearth

@bors

bors commented May 29, 2015

Copy link
Copy Markdown
Collaborator

⌛ Testing commit b700b37 with merge 2de64ef...

@bors

bors commented May 29, 2015

Copy link
Copy Markdown
Collaborator

@bors bors merged commit b700b37 into rust-lang:master May 29, 2015
@Ms2ger Ms2ger deleted the tagged_docs branch May 29, 2015 17:31
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.

7 participants