2018-07-15 21:11:54 +00:00
|
|
|
error[E0392]: parameter `T` is never used
|
2022-11-17 03:09:57 +00:00
|
|
|
--> $DIR/issue-20413.rs:6:15
|
2018-07-15 21:11:54 +00:00
|
|
|
|
|
|
|
|
LL | struct NoData<T>;
|
2019-04-17 21:41:34 +00:00
|
|
|
| ^ unused parameter
|
2018-07-15 21:11:54 +00:00
|
|
|
|
|
2020-09-02 07:40:56 +00:00
|
|
|
= help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
|
2021-05-01 04:39:50 +00:00
|
|
|
= help: if you intended `T` to be a const parameter, use `const T: usize` instead
|
2018-07-15 21:11:54 +00:00
|
|
|
|
2022-11-17 03:33:45 +00:00
|
|
|
error[E0275]: overflow evaluating the requirement `NoData<NoData<NoData<NoData<NoData<NoData<NoData<...>>>>>>>: Foo`
|
2022-11-17 03:09:57 +00:00
|
|
|
--> $DIR/issue-20413.rs:9:36
|
2018-07-15 21:11:54 +00:00
|
|
|
|
|
2020-01-30 00:55:37 +00:00
|
|
|
LL | impl<T> Foo for T where NoData<T>: Foo {
|
|
|
|
| ^^^
|
2018-07-15 21:11:54 +00:00
|
|
|
|
|
2021-09-28 20:16:42 +00:00
|
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_20413`)
|
2022-11-26 03:08:46 +00:00
|
|
|
note: required for `NoData<NoData<NoData<NoData<NoData<NoData<NoData<NoData<NoData<NoData<NoData<NoData<NoData<...>>>>>>>>>>>>>` to implement `Foo`
|
2022-11-17 03:09:57 +00:00
|
|
|
--> $DIR/issue-20413.rs:9:9
|
2021-03-30 20:37:30 +00:00
|
|
|
|
|
|
|
|
LL | impl<T> Foo for T where NoData<T>: Foo {
|
2023-01-11 03:21:11 +00:00
|
|
|
| ^^^ ^ --- unsatisfied trait bound introduced here
|
2022-11-17 03:09:57 +00:00
|
|
|
= note: the full type name has been written to '$TEST_BUILD_DIR/issues/issue-20413/issue-20413.long-type-hash.txt'
|
2020-11-16 19:16:30 +00:00
|
|
|
= note: 127 redundant requirements hidden
|
2022-08-15 20:31:37 +00:00
|
|
|
= note: required for `NoData<T>` to implement `Foo`
|
2018-07-15 21:11:54 +00:00
|
|
|
|
2022-11-17 03:33:45 +00:00
|
|
|
error[E0275]: overflow evaluating the requirement `EvenLessData<AlmostNoData<EvenLessData<AlmostNoData<EvenLessData<AlmostNoData<EvenLessData<...>>>>>>>: Baz`
|
2022-11-17 03:09:57 +00:00
|
|
|
--> $DIR/issue-20413.rs:28:42
|
2020-11-18 16:33:27 +00:00
|
|
|
|
|
|
|
|
LL | impl<T> Bar for T where EvenLessData<T>: Baz {
|
|
|
|
| ^^^
|
|
|
|
|
|
2021-09-28 20:16:42 +00:00
|
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_20413`)
|
2022-11-26 03:08:46 +00:00
|
|
|
note: required for `AlmostNoData<EvenLessData<AlmostNoData<EvenLessData<AlmostNoData<EvenLessData<AlmostNoData<...>>>>>>>` to implement `Bar`
|
2022-11-17 03:09:57 +00:00
|
|
|
--> $DIR/issue-20413.rs:28:9
|
2021-03-30 20:37:30 +00:00
|
|
|
|
|
|
|
|
LL | impl<T> Bar for T where EvenLessData<T>: Baz {
|
2023-01-11 03:21:11 +00:00
|
|
|
| ^^^ ^ --- unsatisfied trait bound introduced here
|
2022-11-17 03:09:57 +00:00
|
|
|
= note: the full type name has been written to '$TEST_BUILD_DIR/issues/issue-20413/issue-20413.long-type-hash.txt'
|
2022-11-26 03:08:46 +00:00
|
|
|
note: required for `EvenLessData<AlmostNoData<EvenLessData<AlmostNoData<EvenLessData<AlmostNoData<EvenLessData<...>>>>>>>` to implement `Baz`
|
2022-11-17 03:09:57 +00:00
|
|
|
--> $DIR/issue-20413.rs:35:9
|
2021-03-30 20:37:30 +00:00
|
|
|
|
|
|
|
|
LL | impl<T> Baz for T where AlmostNoData<T>: Bar {
|
2023-01-11 03:21:11 +00:00
|
|
|
| ^^^ ^ --- unsatisfied trait bound introduced here
|
2022-11-17 03:09:57 +00:00
|
|
|
= note: the full type name has been written to '$TEST_BUILD_DIR/issues/issue-20413/issue-20413.long-type-hash.txt'
|
2020-11-18 16:33:27 +00:00
|
|
|
= note: 126 redundant requirements hidden
|
2022-08-15 20:31:37 +00:00
|
|
|
= note: required for `EvenLessData<T>` to implement `Baz`
|
2020-11-18 16:33:27 +00:00
|
|
|
|
2022-11-17 03:33:45 +00:00
|
|
|
error[E0275]: overflow evaluating the requirement `AlmostNoData<EvenLessData<AlmostNoData<EvenLessData<AlmostNoData<EvenLessData<AlmostNoData<...>>>>>>>: Bar`
|
2022-11-17 03:09:57 +00:00
|
|
|
--> $DIR/issue-20413.rs:35:42
|
2020-11-18 16:33:27 +00:00
|
|
|
|
|
|
|
|
LL | impl<T> Baz for T where AlmostNoData<T>: Bar {
|
|
|
|
| ^^^
|
|
|
|
|
|
2021-09-28 20:16:42 +00:00
|
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_20413`)
|
2022-11-26 03:08:46 +00:00
|
|
|
note: required for `EvenLessData<AlmostNoData<EvenLessData<AlmostNoData<EvenLessData<AlmostNoData<EvenLessData<...>>>>>>>` to implement `Baz`
|
2022-11-17 03:09:57 +00:00
|
|
|
--> $DIR/issue-20413.rs:35:9
|
2021-03-30 20:37:30 +00:00
|
|
|
|
|
|
|
|
LL | impl<T> Baz for T where AlmostNoData<T>: Bar {
|
2023-01-11 03:21:11 +00:00
|
|
|
| ^^^ ^ --- unsatisfied trait bound introduced here
|
2022-11-17 03:09:57 +00:00
|
|
|
= note: the full type name has been written to '$TEST_BUILD_DIR/issues/issue-20413/issue-20413.long-type-hash.txt'
|
2022-11-26 03:08:46 +00:00
|
|
|
note: required for `AlmostNoData<EvenLessData<AlmostNoData<EvenLessData<AlmostNoData<EvenLessData<AlmostNoData<...>>>>>>>` to implement `Bar`
|
2022-11-17 03:09:57 +00:00
|
|
|
--> $DIR/issue-20413.rs:28:9
|
2021-03-30 20:37:30 +00:00
|
|
|
|
|
|
|
|
LL | impl<T> Bar for T where EvenLessData<T>: Baz {
|
2023-01-11 03:21:11 +00:00
|
|
|
| ^^^ ^ --- unsatisfied trait bound introduced here
|
2022-11-17 03:09:57 +00:00
|
|
|
= note: the full type name has been written to '$TEST_BUILD_DIR/issues/issue-20413/issue-20413.long-type-hash.txt'
|
2020-11-18 16:33:27 +00:00
|
|
|
= note: 126 redundant requirements hidden
|
2022-08-15 20:31:37 +00:00
|
|
|
= note: required for `AlmostNoData<T>` to implement `Bar`
|
2020-11-18 16:33:27 +00:00
|
|
|
|
2022-06-11 22:47:21 +00:00
|
|
|
error: aborting due to 4 previous errors
|
2018-07-15 21:11:54 +00:00
|
|
|
|
2019-04-17 17:26:38 +00:00
|
|
|
Some errors have detailed explanations: E0275, E0392.
|
2018-07-15 21:11:54 +00:00
|
|
|
For more information about an error, try `rustc --explain E0275`.
|