blob: e7a8ee6cb19bee4827325663180aac1a3d1625a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
error: call to `set_readonly` with argument `false`
--> $DIR/permissions_set_readonly_false.rs:19:5
|
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`
error: aborting due to previous error
|