Skip to content

Commit cebab61

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 168647 b: refs/heads/batch c: 9dd65dd h: refs/heads/master i: 168645: 674bfc4 168643: 38cce9c 168639: 027518c v: v3
1 parent 5ef6e93 commit cebab61

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
2929
refs/heads/issue-18208-method-dispatch-2: 9e1eae4fb9b6527315b4441cf8a0f5ca911d1671
3030
refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3131
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
32-
refs/heads/batch: 964ff83cbccee1544d95d8197ea239ba5da1d23d
32+
refs/heads/batch: 9dd65dd6243dc9cfee1381fc3f926aad9387df07
3333
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970

branches/batch/src/librustc_driver/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#![feature(slicing_syntax, unsafe_destructor)]
2727
#![feature(rustc_diagnostic_macros)]
2828
#![feature(unboxed_closures)]
29+
#![feature(associated_types)]
2930

3031
extern crate arena;
3132
extern crate flate;

branches/batch/src/librustc_driver/pretty.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,9 @@ enum NodesMatchingUII<'a, 'ast: 'a> {
345345
NodesMatchingSuffix(ast_map::NodesMatchingSuffix<'a, 'ast>),
346346
}
347347

348-
impl<'a, 'ast> Iterator<ast::NodeId> for NodesMatchingUII<'a, 'ast> {
348+
impl<'a, 'ast> Iterator for NodesMatchingUII<'a, 'ast> {
349+
type Item = ast::NodeId;
350+
349351
fn next(&mut self) -> Option<ast::NodeId> {
350352
match self {
351353
&NodesMatchingDirect(ref mut iter) => iter.next(),

0 commit comments

Comments
 (0)