1 #![feature(tool_lints)]
3 #![allow(unused_variables, clippy::blacklisted_name,
4 clippy::needless_pass_by_value, dead_code)]
6 // This should not compile-fail with:
8 // error[E0277]: the trait bound `T: Foo` is not satisfied
10 // See https://github.com/rust-lang-nursery/rust-clippy/issues/2760
20 fn take<T: Foo>(baz: Baz<T>) {}