605 lines
22 KiB
Plaintext
605 lines
22 KiB
Plaintext
Checking prometeu-core v0.1.0 (/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/crates/prometeu-core)
|
|
error[E0615]: attempted to take value of method `start` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/firmware/firmware_step_hub_home.rs:20:29
|
|
|
|
|
20 | if ctx.hw.pad().start.down {
|
|
| ^^^^^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
20 | if ctx.hw.pad().start().down {
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `start` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/firmware/firmware_step_crash_screen.rs:27:25
|
|
|
|
|
27 | if ctx.hw.pad().start.down {
|
|
| ^^^^^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
27 | if ctx.hw.pad().start().down {
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `up` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:380:28
|
|
|
|
|
380 | 0 => Some(&pad.up),
|
|
| ^^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
380 | 0 => Some(&pad.up()),
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `down` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:381:28
|
|
|
|
|
381 | 1 => Some(&pad.down),
|
|
| ^^^^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
381 | 1 => Some(&pad.down()),
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `left` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:382:28
|
|
|
|
|
382 | 2 => Some(&pad.left),
|
|
| ^^^^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
382 | 2 => Some(&pad.left()),
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `right` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:383:28
|
|
|
|
|
383 | 3 => Some(&pad.right),
|
|
| ^^^^^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
383 | 3 => Some(&pad.right()),
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `a` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:384:28
|
|
|
|
|
384 | 4 => Some(&pad.a),
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
384 | 4 => Some(&pad.a()),
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `b` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:385:28
|
|
|
|
|
385 | 5 => Some(&pad.b),
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
385 | 5 => Some(&pad.b()),
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `x` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:386:28
|
|
|
|
|
386 | 6 => Some(&pad.x),
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
386 | 6 => Some(&pad.x()),
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `y` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:387:28
|
|
|
|
|
387 | 7 => Some(&pad.y),
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
387 | 7 => Some(&pad.y()),
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `l` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:388:28
|
|
|
|
|
388 | 8 => Some(&pad.l),
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
388 | 8 => Some(&pad.l()),
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `r` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:389:28
|
|
|
|
|
389 | 9 => Some(&pad.r),
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
389 | 9 => Some(&pad.r()),
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `start` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:390:29
|
|
|
|
|
390 | 10 => Some(&pad.start),
|
|
| ^^^^^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
390 | 10 => Some(&pad.start()),
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `select` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:391:29
|
|
|
|
|
391 | 11 => Some(&pad.select),
|
|
| ^^^^^^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
391 | 11 => Some(&pad.select()),
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `up` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:398:27
|
|
|
|
|
398 | 0 => hw.pad().up.down,
|
|
| ^^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
398 | 0 => hw.pad().up().down,
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `down` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:399:27
|
|
|
|
|
399 | 1 => hw.pad().down.down,
|
|
| ^^^^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
399 | 1 => hw.pad().down().down,
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `left` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:400:27
|
|
|
|
|
400 | 2 => hw.pad().left.down,
|
|
| ^^^^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
400 | 2 => hw.pad().left().down,
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `right` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:401:27
|
|
|
|
|
401 | 3 => hw.pad().right.down,
|
|
| ^^^^^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
401 | 3 => hw.pad().right().down,
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `a` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:402:27
|
|
|
|
|
402 | 4 => hw.pad().a.down,
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
402 | 4 => hw.pad().a().down,
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `b` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:403:27
|
|
|
|
|
403 | 5 => hw.pad().b.down,
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
403 | 5 => hw.pad().b().down,
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `x` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:404:27
|
|
|
|
|
404 | 6 => hw.pad().x.down,
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
404 | 6 => hw.pad().x().down,
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `y` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:405:27
|
|
|
|
|
405 | 7 => hw.pad().y.down,
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
405 | 7 => hw.pad().y().down,
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `l` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:406:27
|
|
|
|
|
406 | 8 => hw.pad().l.down,
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
406 | 8 => hw.pad().l().down,
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `r` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:407:27
|
|
|
|
|
407 | 9 => hw.pad().r.down,
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
407 | 9 => hw.pad().r().down,
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `start` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:408:28
|
|
|
|
|
408 | 10 => hw.pad().start.down,
|
|
| ^^^^^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
408 | 10 => hw.pad().start().down,
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `select` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:409:28
|
|
|
|
|
409 | 11 => hw.pad().select.down,
|
|
| ^^^^^^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
409 | 11 => hw.pad().select().down,
|
|
| ++
|
|
|
|
error[E0609]: no field `sprites` on type `&mut dyn GfxBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:963:34
|
|
|
|
|
963 | hw.gfx_mut().sprites[index] = crate::model::Sprite {
|
|
| ^^^^^^^ unknown field
|
|
|
|
error[E0615]: attempted to take value of method `x` on type `&dyn TouchBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:1031:41
|
|
|
|
|
1031 | ret.push_int(hw.touch().x as i64);
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
1031 | ret.push_int(hw.touch().x() as i64);
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `y` on type `&dyn TouchBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:1035:41
|
|
|
|
|
1035 | ret.push_int(hw.touch().y as i64);
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
1035 | ret.push_int(hw.touch().y() as i64);
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `f` on type `&dyn TouchBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:1039:42
|
|
|
|
|
1039 | ret.push_bool(hw.touch().f.down);
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
1039 | ret.push_bool(hw.touch().f().down);
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `f` on type `&dyn TouchBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:1043:42
|
|
|
|
|
1043 | ret.push_bool(hw.touch().f.pressed);
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
1043 | ret.push_bool(hw.touch().f().pressed);
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `f` on type `&dyn TouchBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:1047:42
|
|
|
|
|
1047 | ret.push_bool(hw.touch().f.released);
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
1047 | ret.push_bool(hw.touch().f().released);
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `f` on type `&dyn TouchBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:1051:41
|
|
|
|
|
1051 | ret.push_int(hw.touch().f.hold_frames as i64);
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
1051 | ret.push_int(hw.touch().f().hold_frames as i64);
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `up` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:1057:26
|
|
|
|
|
1057 | &pad.up, &pad.down, &pad.left, &pad.right,
|
|
| ^^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
1057 | &pad.up(), &pad.down, &pad.left, &pad.right,
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `down` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:1057:35
|
|
|
|
|
1057 | &pad.up, &pad.down, &pad.left, &pad.right,
|
|
| ^^^^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
1057 | &pad.up, &pad.down(), &pad.left, &pad.right,
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `left` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:1057:46
|
|
|
|
|
1057 | &pad.up, &pad.down, &pad.left, &pad.right,
|
|
| ^^^^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
1057 | &pad.up, &pad.down, &pad.left(), &pad.right,
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `right` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:1057:57
|
|
|
|
|
1057 | &pad.up, &pad.down, &pad.left, &pad.right,
|
|
| ^^^^^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
1057 | &pad.up, &pad.down, &pad.left, &pad.right(),
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `a` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:1058:26
|
|
|
|
|
1058 | &pad.a, &pad.b, &pad.x, &pad.y,
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
1058 | &pad.a(), &pad.b, &pad.x, &pad.y,
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `b` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:1058:34
|
|
|
|
|
1058 | &pad.a, &pad.b, &pad.x, &pad.y,
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
1058 | &pad.a, &pad.b(), &pad.x, &pad.y,
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `x` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:1058:42
|
|
|
|
|
1058 | &pad.a, &pad.b, &pad.x, &pad.y,
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
1058 | &pad.a, &pad.b, &pad.x(), &pad.y,
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `y` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:1058:50
|
|
|
|
|
1058 | &pad.a, &pad.b, &pad.x, &pad.y,
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
1058 | &pad.a, &pad.b, &pad.x, &pad.y(),
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `l` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:1059:26
|
|
|
|
|
1059 | &pad.l, &pad.r, &pad.start, &pad.select,
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
1059 | &pad.l(), &pad.r, &pad.start, &pad.select,
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `r` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:1059:34
|
|
|
|
|
1059 | &pad.l, &pad.r, &pad.start, &pad.select,
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
1059 | &pad.l, &pad.r(), &pad.start, &pad.select,
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `start` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:1059:42
|
|
|
|
|
1059 | &pad.l, &pad.r, &pad.start, &pad.select,
|
|
| ^^^^^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
1059 | &pad.l, &pad.r, &pad.start(), &pad.select,
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `select` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:1059:54
|
|
|
|
|
1059 | &pad.l, &pad.r, &pad.start, &pad.select,
|
|
| ^^^^^^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
1059 | &pad.l, &pad.r, &pad.start, &pad.select(),
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `f` on type `&dyn TouchBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:1070:37
|
|
|
|
|
1070 | ret.push_bool(touch.f.pressed);
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
1070 | ret.push_bool(touch.f().pressed);
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `f` on type `&dyn TouchBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:1071:37
|
|
|
|
|
1071 | ret.push_bool(touch.f.released);
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
1071 | ret.push_bool(touch.f().released);
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `f` on type `&dyn TouchBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:1072:37
|
|
|
|
|
1072 | ret.push_bool(touch.f.down);
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
1072 | ret.push_bool(touch.f().down);
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `f` on type `&dyn TouchBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:1073:36
|
|
|
|
|
1073 | ret.push_int(touch.f.hold_frames as i64);
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
1073 | ret.push_int(touch.f().hold_frames as i64);
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `x` on type `&dyn TouchBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:1074:36
|
|
|
|
|
1074 | ret.push_int(touch.x as i64);
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
1074 | ret.push_int(touch.x() as i64);
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `y` on type `&dyn TouchBridge`
|
|
--> crates/prometeu-core/src/prometeu_os/prometeu_os.rs:1075:36
|
|
|
|
|
1075 | ret.push_int(touch.y as i64);
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
1075 | ret.push_int(touch.y() as i64);
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `a` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_hub/prometeu_hub.rs:28:21
|
|
|
|
|
28 | if hw.pad().a.pressed {
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
28 | if hw.pad().a().pressed {
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `b` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_hub/prometeu_hub.rs:31:28
|
|
|
|
|
31 | } else if hw.pad().b.pressed {
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
31 | } else if hw.pad().b().pressed {
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `x` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_hub/prometeu_hub.rs:34:28
|
|
|
|
|
34 | } else if hw.pad().x.pressed {
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
34 | } else if hw.pad().x().pressed {
|
|
| ++
|
|
|
|
error[E0615]: attempted to take value of method `y` on type `&dyn PadBridge`
|
|
--> crates/prometeu-core/src/prometeu_hub/prometeu_hub.rs:37:28
|
|
|
|
|
37 | } else if hw.pad().y.pressed {
|
|
| ^ method, not a field
|
|
|
|
|
help: use parentheses to call the method
|
|
|
|
|
37 | } else if hw.pad().y().pressed {
|
|
| ++
|
|
|
|
Some errors have detailed explanations: E0609, E0615.
|
|
For more information about an error, try `rustc --explain E0609`.
|
|
error: could not compile `prometeu-core` (lib) due to 55 previous errors
|