]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/type_repetition_in_bounds.stderr
Rollup merge of #67460 - estebank:named-lts, r=nikomatsakis
[rust.git] / src / tools / clippy / 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:6:5
3    |
4 LL |     T: Clone,
5    |     ^^^^^^^^
6    |
7 note: the lint level is defined here
8   --> $DIR/type_repetition_in_bounds.rs:1:8
9    |
10 LL | #[deny(clippy::type_repetition_in_bounds)]
11    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12    = help: consider combining the bounds: `T: Copy + Clone`
13
14 error: aborting due to previous error
15