]> git.lizzy.rs Git - rust.git/blob - tests/ui/type_repetition_in_bounds.stderr
Move MSRV tests into the lint specific test files
[rust.git] / tests / ui / type_repetition_in_bounds.stderr
1 error: this type has already been used as a bound predicate
2   --> $DIR/type_repetition_in_bounds.rs:8:5
3    |
4 LL |     T: Clone,
5    |     ^^^^^^^^
6    |
7    = help: consider combining the bounds: `T: Copy + Clone`
8 note: the lint level is defined here
9   --> $DIR/type_repetition_in_bounds.rs:1:9
10    |
11 LL | #![deny(clippy::type_repetition_in_bounds)]
12    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13
14 error: this type has already been used as a bound predicate
15   --> $DIR/type_repetition_in_bounds.rs:25:5
16    |
17 LL |     Self: Copy + Default + Ord,
18    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
19    |
20    = help: consider combining the bounds: `Self: Clone + Copy + Default + Ord`
21
22 error: this type has already been used as a bound predicate
23   --> $DIR/type_repetition_in_bounds.rs:85:5
24    |
25 LL |     T: Clone,
26    |     ^^^^^^^^
27    |
28    = help: consider combining the bounds: `T: ?Sized + Clone`
29
30 error: this type has already been used as a bound predicate
31   --> $DIR/type_repetition_in_bounds.rs:90:5
32    |
33 LL |     T: ?Sized,
34    |     ^^^^^^^^^
35    |
36    = help: consider combining the bounds: `T: Clone + ?Sized`
37
38 error: aborting due to 4 previous errors
39