about summary refs log tree commit diff
path: root/tests/ui/pattern/deref-patterns/unsatisfied-bounds.stderr
blob: 0b1e8ef497809806fbd846330eafeae19ff52772 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0277]: the trait bound `MyPointer: DerefPure` is not satisfied
  --> $DIR/unsatisfied-bounds.rs:17:9
   |
LL |         () => {}
   |         ^^ unsatisfied trait bound
   |
help: the trait `DerefPure` is not implemented for `MyPointer`
  --> $DIR/unsatisfied-bounds.rs:4:1
   |
LL | struct MyPointer;
   | ^^^^^^^^^^^^^^^^

error: aborting due to 1 previous error

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