Skip to content

Commit fbe7eec

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 168734 b: refs/heads/snap-stage3 c: 9dd65dd h: refs/heads/master v: v3
1 parent 987441e commit fbe7eec

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
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 5e21e17d9638d14af41e27e5ca9a21c8a1bc0170
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 964ff83cbccee1544d95d8197ea239ba5da1d23d
4+
refs/heads/snap-stage3: 9dd65dd6243dc9cfee1381fc3f926aad9387df07
55
refs/heads/try: 5204084bd2e46af7cc6e0147430e44dd0d657bbb
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/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/snap-stage3/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)