rust-clippy/tests/ui/crashes/trivial_bounds.rs
Eduardo Broto 6b59675449 Remove run-pass annotations from crash tests
It does not seem to be necessary
2020-09-25 15:19:36 +02:00

11 lines
152 B
Rust

#![feature(trivial_bounds)]
#![allow(unused, trivial_bounds)]
fn test_trivial_bounds()
where
i32: Iterator,
{
for _ in 2i32 {}
}
fn main() {}