mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
d29c489599
avoid ICE on invalid param-env normalization remove 120033 crash test fix comments use rustc_no_implicit_bounds set #![allow(incomplete_features)]
43 lines
1.9 KiB
Plaintext
43 lines
1.9 KiB
Plaintext
error[E0275]: overflow evaluating the requirement `Self: StreamingIterator<'_>`
|
|
|
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`self_referential_param_env_normalization`)
|
|
note: required for `Self` to implement `StreamingIterator<'_>`
|
|
--> $DIR/self-referential-param-env-normalization.rs:8:16
|
|
|
|
|
LL | impl<'b, I, T> StreamingIterator<'b> for I
|
|
| ^^^^^^^^^^^^^^^^^^^^^ ^
|
|
...
|
|
LL | T: FnMut(Self::Item, I::Item),
|
|
| -------------------------- unsatisfied trait bound introduced here
|
|
= note: 127 redundant requirements hidden
|
|
= note: required for `Self` to implement `StreamingIterator<'a>`
|
|
|
|
error[E0207]: the type parameter `T` is not constrained by the impl trait, self type, or predicates
|
|
--> $DIR/self-referential-param-env-normalization.rs:8:13
|
|
|
|
|
LL | impl<'b, I, T> StreamingIterator<'b> for I
|
|
| ^ unconstrained type parameter
|
|
|
|
error[E0275]: overflow evaluating the requirement `I: IntoIterator`
|
|
--> $DIR/self-referential-param-env-normalization.rs:14:17
|
|
|
|
|
LL | type Item = T;
|
|
| ^
|
|
|
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`self_referential_param_env_normalization`)
|
|
note: required for `I` to implement `StreamingIterator<'_>`
|
|
--> $DIR/self-referential-param-env-normalization.rs:8:16
|
|
|
|
|
LL | impl<'b, I, T> StreamingIterator<'b> for I
|
|
| ^^^^^^^^^^^^^^^^^^^^^ ^
|
|
...
|
|
LL | T: FnMut(Self::Item, I::Item),
|
|
| -------------------------- unsatisfied trait bound introduced here
|
|
= note: 127 redundant requirements hidden
|
|
= note: required for `I` to implement `StreamingIterator<'b>`
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
Some errors have detailed explanations: E0207, E0275.
|
|
For more information about an error, try `rustc --explain E0207`.
|