summaryrefslogtreecommitdiffstats
path: root/tests/ui/higher-rank-trait-bounds/issue-95230.new.stderr
blob: d4bc5b67220a0caa280857d0c7d86e47a0bc4ca6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
error[E0275]: overflow evaluating the requirement `for<'a> &'a mut Bar well-formed`
  --> $DIR/issue-95230.rs:9:13
   |
LL |     for<'a> &'a mut Self:;
   |             ^^^^^^^^^^^^
   |
   = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_95230`)
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 previous error

For more information about this error, try `rustc --explain E0275`.