2022-11-16 21:33:45 -06:00
|
|
|
error[E0275]: overflow evaluating the requirement `Bar<Bar<Bar<Bar<Bar<Bar<Bar<...>>>>>>>: Foo`
|
2022-11-16 21:09:57 -06:00
|
|
|
--> $DIR/E0275.rs:6:33
|
2018-02-07 21:35:35 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | impl<T> Foo for T where Bar<T>: Foo {}
|
2020-01-29 18:55:37 -06:00
|
|
|
| ^^^
|
2018-02-07 21:35:35 -06:00
|
|
|
|
|
2021-09-28 15:16:42 -05:00
|
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`E0275`)
|
2022-11-25 21:08:46 -06:00
|
|
|
note: required for `Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<...>>>>>>>>>>>>>>>>>>>>>` to implement `Foo`
|
2022-11-16 21:09:57 -06:00
|
|
|
--> $DIR/E0275.rs:6:9
|
2021-03-30 15:37:30 -05:00
|
|
|
|
|
|
|
|
LL | impl<T> Foo for T where Bar<T>: Foo {}
|
2023-01-10 21:21:11 -06:00
|
|
|
| ^^^ ^ --- unsatisfied trait bound introduced here
|
2022-11-16 21:09:57 -06:00
|
|
|
= note: the full type name has been written to '$TEST_BUILD_DIR/error-codes/E0275/E0275.long-type-hash.txt'
|
2023-03-14 08:56:16 -05:00
|
|
|
= note: 126 redundant requirements hidden
|
2022-08-15 15:31:37 -05:00
|
|
|
= note: required for `Bar<T>` to implement `Foo`
|
2018-02-07 21:35:35 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0275`.
|