]> git.proxmox.com Git - rustc.git/blob - src/test/ui/associated-types/hr-associated-type-bound-2.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / associated-types / hr-associated-type-bound-2.stderr
1 error[E0275]: overflow evaluating the requirement `for<'b> u32: X<'b>`
2 --> $DIR/hr-associated-type-bound-2.rs:11:1
3 |
4 LL | / impl X<'_> for u32
5 LL | | where
6 LL | | for<'b> <Self as X<'b>>::U: Clone,
7 LL | | {
8 LL | | type U = str;
9 LL | | }
10 | |_^
11 |
12 = help: consider adding a `#![recursion_limit="256"]` attribute to your crate (`hr_associated_type_bound_2`)
13 note: required because of the requirements on the impl of `for<'b> X<'b>` for `u32`
14 --> $DIR/hr-associated-type-bound-2.rs:11:6
15 |
16 LL | impl X<'_> for u32
17 | ^^^^^ ^^^
18 = note: 128 redundant requirements hidden
19 = note: required because of the requirements on the impl of `for<'b> X<'b>` for `u32`
20
21 error[E0275]: overflow evaluating the requirement `for<'b> u32: X<'b>`
22 --> $DIR/hr-associated-type-bound-2.rs:15:5
23 |
24 LL | type U = str;
25 | ^^^^^^^^^^^^^
26 |
27 = help: consider adding a `#![recursion_limit="256"]` attribute to your crate (`hr_associated_type_bound_2`)
28 note: required because of the requirements on the impl of `for<'b> X<'b>` for `u32`
29 --> $DIR/hr-associated-type-bound-2.rs:11:6
30 |
31 LL | impl X<'_> for u32
32 | ^^^^^ ^^^
33 = note: 128 redundant requirements hidden
34 = note: required because of the requirements on the impl of `for<'b> X<'b>` for `u32`
35
36 error: aborting due to 2 previous errors
37
38 For more information about this error, try `rustc --explain E0275`.