mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-16 02:24:35 +00:00
14 lines
165 B
Rust
14 lines
165 B
Rust
// run-pass
|
|
|
|
#![feature(trivial_bounds)]
|
|
#![allow(unused, trivial_bounds)]
|
|
|
|
fn test_trivial_bounds()
|
|
where
|
|
i32: Iterator,
|
|
{
|
|
for _ in 2i32 {}
|
|
}
|
|
|
|
fn main() {}
|