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