summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/solver-cycles/cycle-via-builtin-auto-trait-impl.stderr
blob: 8f9ce3ef1e99c6ca2d603caf68945ad5f181041e (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
error[E0275]: overflow evaluating the requirement `Runtime<RootDatabase>: RefUnwindSafe`
   |
   = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`cycle_via_builtin_auto_trait_impl`)
note: required because it appears within the type `RootDatabase`
  --> $DIR/cycle-via-builtin-auto-trait-impl.rs:13:8
   |
LL | struct RootDatabase {
   |        ^^^^^^^^^^^^
note: required for `RootDatabase` to implement `Database`
  --> $DIR/cycle-via-builtin-auto-trait-impl.rs:17:24
   |
LL | impl<T: RefUnwindSafe> Database for T {
   |         -------------  ^^^^^^^^     ^
   |         |
   |         unsatisfied trait bound introduced here
note: required because it appears within the type `Runtime<RootDatabase>`
  --> $DIR/cycle-via-builtin-auto-trait-impl.rs:24:8
   |
LL | struct Runtime<DB: Database> {
   |        ^^^^^^^

error: aborting due to previous error

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