]> git.lizzy.rs Git - rust.git/blob - tests/ui/type_repetition_in_bounds.rs
Auto merge of #4478 - tsurai:master, r=flip1995
[rust.git] / 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() {}