rust/tests/ui/higher-ranked/trait-bounds/issue-95230.next.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
681 B
Plaintext
Raw Normal View History

error[E0275]: overflow evaluating the requirement `for<'a> &'a mut Bar well-formed`
2023-03-30 04:49:06 -05:00
--> $DIR/issue-95230.rs:9:13
|
LL | for<'a> &'a mut Self:;
| ^^^^^^^^^^^^
2023-03-30 04:49:06 -05:00
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_95230`)
2023-03-30 04:49:06 -05:00
note: required by a bound in `Bar`
--> $DIR/issue-95230.rs:9:13
|
LL | pub struct Bar
| --- required by a bound in this struct
LL | where
LL | for<'a> &'a mut Self:;
| ^^^^^^^^^^^^ required by this bound in `Bar`
error: aborting due to 1 previous error
2023-03-30 04:49:06 -05:00
For more information about this error, try `rustc --explain E0275`.