summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/reservation-impl/no-use.old.stderr
blob: 632f0f81624cd10eea06c9f9090f848e9692ea8e (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0277]: the trait bound `(): MyTrait` is not satisfied
  --> $DIR/no-use.rs:11:6
   |
LL |     <() as MyTrait>::foo(&());
   |      ^^ the trait `MyTrait` is not implemented for `()`
   |
   = help: the trait `MyTrait` is implemented for `()`

error: aborting due to previous error

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