rust/tests/ui/suggestions/dont-suggest-pin-array-dot-set.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

10 lines
336 B
Plaintext

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 with a similar name: `get`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0599`.