mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 09:05:00 +00:00
12 lines
152 B
Rust
12 lines
152 B
Rust
#![feature(trivial_bounds)]
|
|
#![allow(unused, trivial_bounds)]
|
|
|
|
fn test_trivial_bounds()
|
|
where
|
|
i32: Iterator,
|
|
{
|
|
for _ in 2i32 {}
|
|
}
|
|
|
|
fn main() {}
|