summaryrefslogtreecommitdiffstats
path: root/tests/ui/associated-types/hr-associated-type-bound-2.stderr
blob: 749986f09c63d8a3c1b592d5e19a72871dd07c57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
error[E0275]: overflow evaluating the requirement `for<'b> u32: X<'b>`
  --> $DIR/hr-associated-type-bound-2.rs:11:1
   |
LL | impl X<'_> for u32
   | ^^^^^^^^^^^^^^^^^^
   |
   = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`hr_associated_type_bound_2`)
note: required for `u32` to implement `for<'b> X<'b>`
  --> $DIR/hr-associated-type-bound-2.rs:11:6
   |
LL | impl X<'_> for u32
   |      ^^^^^     ^^^
LL | where
LL |     for<'b> <Self as X<'b>>::U: Clone,
   |                                 ----- unsatisfied trait bound introduced here
   = note: 128 redundant requirements hidden
   = note: required for `u32` to implement `for<'b> X<'b>`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0275`.