2023-12-01 09:57:32 -06:00
|
|
|
error: unnecessary use of `.write(true)` because there is `.append(true)`
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/ineffective_open_options.rs:8:9
|
2023-12-01 09:57:32 -06:00
|
|
|
|
|
|
|
|
LL | .write(true)
|
|
|
|
| ^^^^^^^^^^^^ help: remove `.write(true)`
|
|
|
|
|
|
|
|
|
= note: `-D clippy::ineffective-open-options` implied by `-D warnings`
|
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::ineffective_open_options)]`
|
|
|
|
|
|
|
|
error: unnecessary use of `.write(true)` because there is `.append(true)`
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/ineffective_open_options.rs:16:9
|
2023-12-01 09:57:32 -06:00
|
|
|
|
|
|
|
|
LL | .write(true)
|
|
|
|
| ^^^^^^^^^^^^ help: remove `.write(true)`
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|