fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.2 KiB29 linesraw
1error[E0275]: overflow evaluating the requirement `(): Trait`
2  --> $DIR/double-cycle-inductive-coinductive.rs:32:19
3   |
4LL |     impls_trait::<()>();
5   |                   ^^
6   |
7   = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`double_cycle_inductive_coinductive`)
8note: required by a bound in `impls_trait`
9  --> $DIR/double-cycle-inductive-coinductive.rs:17:19
10   |
11LL | fn impls_trait<T: Trait>() {}
12   |                   ^^^^^ required by this bound in `impls_trait`
13
14error[E0275]: overflow evaluating the requirement `(): TraitRev`
15  --> $DIR/double-cycle-inductive-coinductive.rs:35:23
16   |
17LL |     impls_trait_rev::<()>();
18   |                       ^^
19   |
20   = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`double_cycle_inductive_coinductive`)
21note: required by a bound in `impls_trait_rev`
22  --> $DIR/double-cycle-inductive-coinductive.rs:29:23
23   |
24LL | fn impls_trait_rev<T: TraitRev>() {}
25   |                       ^^^^^^^^ required by this bound in `impls_trait_rev`
26
27error: aborting due to 2 previous errors
28
29For more information about this error, try `rustc --explain E0275`.