mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-23 03:23:33 +00:00
6b59675449
It does not seem to be necessary
11 lines
152 B
Rust
11 lines
152 B
Rust
#![feature(trivial_bounds)]
|
|
#![allow(unused, trivial_bounds)]
|
|
|
|
fn test_trivial_bounds()
|
|
where
|
|
i32: Iterator,
|
|
{
|
|
for _ in 2i32 {}
|
|
}
|
|
|
|
fn main() {}
|