summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/new-solver/cycles/double-cycle-inductive-coinductive.stderr
blob: a3404da51f06a6211c0e96b87b88d9761182d7fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
error[E0275]: overflow evaluating the requirement `(): Trait`
  --> $DIR/double-cycle-inductive-coinductive.rs:32:19
   |
LL |     impls_trait::<()>();
   |                   ^^
   |
   = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`double_cycle_inductive_coinductive`)
note: required by a bound in `impls_trait`
  --> $DIR/double-cycle-inductive-coinductive.rs:17:19
   |
LL | fn impls_trait<T: Trait>() {}
   |                   ^^^^^ required by this bound in `impls_trait`

error[E0275]: overflow evaluating the requirement `(): TraitRev`
  --> $DIR/double-cycle-inductive-coinductive.rs:35:23
   |
LL |     impls_trait_rev::<()>();
   |                       ^^
   |
   = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`double_cycle_inductive_coinductive`)
note: required by a bound in `impls_trait_rev`
  --> $DIR/double-cycle-inductive-coinductive.rs:29:23
   |
LL | fn impls_trait_rev<T: TraitRev>() {}
   |                       ^^^^^^^^ required by this bound in `impls_trait_rev`

error: aborting due to 2 previous errors

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