fork/rust

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

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

master
993 B24 linesraw
1error[E0275]: overflow evaluating the requirement `Runtime<RootDatabase>: RefUnwindSafe`
2   |
3   = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`cycle_via_builtin_auto_trait_impl`)
4note: required because it appears within the type `RootDatabase`
5  --> $DIR/cycle-via-builtin-auto-trait-impl.rs:13:8
6   |
7LL | struct RootDatabase {
8   |        ^^^^^^^^^^^^
9note: required for `RootDatabase` to implement `Database`
10  --> $DIR/cycle-via-builtin-auto-trait-impl.rs:17:24
11   |
12LL | impl<T: RefUnwindSafe> Database for T {
13   |         -------------  ^^^^^^^^     ^
14   |         |
15   |         unsatisfied trait bound introduced here
16note: required because it appears within the type `Runtime<RootDatabase>`
17  --> $DIR/cycle-via-builtin-auto-trait-impl.rs:24:8
18   |
19LL | struct Runtime<DB: Database> {
20   |        ^^^^^^^
21
22error: aborting due to previous error
23
24For more information about this error, try `rustc --explain E0275`.