summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui-toml/type_repetition_in_bounds/main.stderr
blob: 2ae2984975f4b387e45097eef68d08450de09efc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error: this type has already been used as a bound predicate
  --> $DIR/main.rs:13:5
   |
LL |     T: Unpin + PartialEq,
   |     ^^^^^^^^^^^^^^^^^^^^
   |
   = help: consider combining the bounds: `T: Copy + Clone + Sync + Send + ?Sized + Unpin + PartialEq`
   = note: `-D clippy::type-repetition-in-bounds` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::type_repetition_in_bounds)]`

error: aborting due to previous error