about summary refs log tree commit diff
path: root/tests/ui/pattern/deref-patterns/recursion-limit.stderr
blob: f6aa92b23adb4748b5346709dcd9715bd6b47a36 (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[E0055]: reached the recursion limit while auto-dereferencing `Cyclic`
  --> $DIR/recursion-limit.rs:18:9
   |
LL |         () => {}
   |         ^^ deref recursion limit reached
   |
   = help: consider increasing the recursion limit by adding a `#![recursion_limit = "16"]` attribute to your crate (`recursion_limit`)

error[E0277]: the trait bound `Cyclic: DerefPure` is not satisfied
  --> $DIR/recursion-limit.rs:18:9
   |
LL |         () => {}
   |         ^^ unsatisfied trait bound
   |
help: the trait `DerefPure` is not implemented for `Cyclic`
  --> $DIR/recursion-limit.rs:8:1
   |
LL | struct Cyclic;
   | ^^^^^^^^^^^^^

error: aborting due to 2 previous errors

Some errors have detailed explanations: E0055, E0277.
For more information about an error, try `rustc --explain E0055`.