about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/ineffective_open_options.stderr
blob: 42bb0438dcee8850fbd5f24388833b07e68e5b12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error: unnecessary use of `.write(true)` because there is `.append(true)`
  --> tests/ui/ineffective_open_options.rs:8:9
   |
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)`
  --> tests/ui/ineffective_open_options.rs:17:9
   |
LL |         .write(true)
   |         ^^^^^^^^^^^^ help: remove `.write(true)`

error: aborting due to 2 previous errors