]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/type_repetition_in_bounds.rs
Rollup merge of #72607 - Amanieu:fix-72570, r=oli-obk
[rust.git] / src / tools / clippy / tests / ui / type_repetition_in_bounds.rs
1 #[deny(clippy::type_repetition_in_bounds)]
2
3 pub fn foo<T>(_t: T)
4 where
5     T: Copy,
6     T: Clone,
7 {
8     unimplemented!();
9 }
10
11 pub fn bar<T, U>(_t: T, _u: U)
12 where
13     T: Copy,
14     U: Clone,
15 {
16     unimplemented!();
17 }
18
19 fn main() {}