blob: 3dba752356be32613ca0f0493653198ba0817367 [file]
#![feature(lang_items, no_core)]
#![no_core]
#[lang = "sized"]
trait Sized {}
trait IntoIterator {
type IntoIter;
}
pub struct Chain<A, B>(A, B);
trait Iterator {
fn chain<U>(self, other: U) -> Chain<Self, U::IntoIter>
where
Self: Sized,
U: IntoIterator;
}