summaryrefslogtreecommitdiffstats
path: root/tests/ui/typeck/dont-record-adjustments-when-pointing-at-arg.stderr
blob: b651d80292d7dd8f8c0b8091762226be2ec21749 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error[E0308]: mismatched types
  --> $DIR/dont-record-adjustments-when-pointing-at-arg.rs:26:37
   |
LL |         ns_window.setFrame_display_(0);
   |                   ----------------- ^ expected `()`, found integer
   |                   |
   |                   arguments to this method are incorrect
   |
note: method defined here
  --> $DIR/dont-record-adjustments-when-pointing-at-arg.rs:5:8
   |
LL |     fn setFrame_display_(self, display: ()) {}
   |        ^^^^^^^^^^^^^^^^^       -----------

error: aborting due to 1 previous error

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