]> git.lizzy.rs Git - rust.git/blob - tests/ui/associated-types/hr-associated-type-bound-2.stderr
Rollup merge of #106427 - mejrs:translation_errors, r=davidtwco
[rust.git] / tests / 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    | ^^^^^^^^^^^^^^^^^^
6    |
7    = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`hr_associated_type_bound_2`)
8 note: required for `u32` to implement `for<'b> X<'b>`
9   --> $DIR/hr-associated-type-bound-2.rs:11:6
10    |
11 LL | impl X<'_> for u32
12    |      ^^^^^     ^^^
13    = note: 128 redundant requirements hidden
14    = note: required for `u32` to implement `for<'b> X<'b>`
15
16 error: aborting due to previous error
17
18 For more information about this error, try `rustc --explain E0275`.