rust-clippy/tests/ui/drop_bounds.rs
2019-02-18 19:36:58 -07:00

8 lines
87 B
Rust

#![allow(unused)]
fn foo<T: Drop>() {}
fn bar<T>()
where
T: Drop,
{
}
fn main() {}