blob: 3416c6745bb0d0fc9033ec46150247998fe8132d [file] [log] [blame]
// check-pass
#![feature(type_alias_impl_trait)]
type A = impl Iterator;
fn def_a() -> A { 0..1 }
pub fn use_a() {
def_a().map(|x| x);
}
fn main() {}