2022-06-25 15:46:47 -07:00
|
|
|
error[E0599]: no method named `set` found for array `[u8; 1]` in the current scope
|
|
|
|
--> $DIR/dont-suggest-pin-array-dot-set.rs:14:7
|
|
|
|
|
|
|
|
|
LL | a.set(0, 3);
|
2024-02-10 03:33:20 +00:00
|
|
|
| ^^^
|
|
|
|
|
|
|
|
|
help: there is a method `get` with a similar name, but with different arguments
|
|
|
|
--> $SRC_DIR/core/src/slice/mod.rs:LL:COL
|
2022-06-25 15:46:47 -07:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2022-06-25 15:46:47 -07:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0599`.
|