Skip to content

Commit a6da727

Browse files
authored
Unrolled build for #153666
Rollup merge of #153666 - TaKO8Ki:issue-153599, r=estebank Add a regression test for #153599 Fixes #153599 it's already fixed.
2 parents d1c7945 + 18ebaa9 commit a6da727

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
//@ check-pass
2+
3+
#![feature(fn_delegation)]
4+
#![allow(incomplete_features)]
5+
#![feature(staged_api)]
6+
#![unstable(feature = "foo", issue = "none")]
7+
8+
pub mod m {
9+
#[unstable(feature = "foo", issue = "none")]
10+
pub struct W<I, F> {
11+
pub inner: std::iter::Map<I, F>,
12+
}
13+
14+
#[unstable(feature = "foo", issue = "none")]
15+
impl<B, I: Iterator, F: FnMut(I::Item) -> B> Iterator for W<I, F> {
16+
type Item = B;
17+
reuse Iterator::{next, fold} { self.inner }
18+
}
19+
}
20+
21+
fn main() {}

0 commit comments

Comments
 (0)