mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
01b75e20f2
to avoid going over the existing limit now that the ui-fulldeps tests have been moved to ui.
11 lines
244 B
Rust
11 lines
244 B
Rust
// run-pass
|
|
|
|
#![allow(dead_code)]
|
|
|
|
use std::iter::{Fuse, Zip};
|
|
|
|
fn fuse_covariant<'a, I>(iter: Fuse<&'static I>) -> Fuse<&'a I> { iter }
|
|
fn zip_covariant<'a, A, B>(iter: Zip<&'static A, &'static B>) -> Zip<&'a A, &'a B> { iter }
|
|
|
|
fn main() { }
|