summary refs log tree commit diff
path: root/src/test/run-pass/variance-iterators-in-libcore.rs
blob: 32b56bd0b5ad5ec5e1b7c2d890c09f4eb01cb2c3 (plain)
1
2
3
4
5
6
7
#![allow(warnings)]

use std::iter::Zip;

fn zip_covariant<'a, A, B>(iter: Zip<&'static A, &'static B>) -> Zip<&'a A, &'a B> { iter }

fn main() { }