about summary refs log tree commit diff
path: root/tests/ui/suggestions/dont-suggest-pin-array-dot-set.stderr
blob: b1a618e7176e3d5d8d05f9f0c27add8b5097410d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);
   |       ^^^
   |
help: there is a method `get` with a similar name, but with different arguments
  --> $SRC_DIR/core/src/slice/mod.rs:LL:COL

error: aborting due to 1 previous error

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