2022-12-29 13:28:34 +00:00
|
|
|
error: call to `set_readonly` with argument `false`
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui/permissions_set_readonly_false.rs:19:5
|
2022-12-29 13:28:34 +00:00
|
|
|
|
|
|
|
|
LL | permissions.set_readonly(false);
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: on Unix platforms this results in the file being world writable
|
|
|
|
= help: you can set the desired permissions using `PermissionsExt`. For more information, see
|
|
|
|
https://doc.rust-lang.org/std/os/unix/fs/trait.PermissionsExt.html
|
|
|
|
= note: `-D clippy::permissions-set-readonly-false` implied by `-D warnings`
|
2023-08-01 12:02:21 +00:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::permissions_set_readonly_false)]`
|
2022-12-29 13:28:34 +00:00
|
|
|
|
2023-11-21 17:08:42 +00:00
|
|
|
error: aborting due to 1 previous error
|
2022-12-29 13:28:34 +00:00
|
|
|
|